Fix incorrect degColLog file location
This commit is contained in:
parent
39d1cf980c
commit
9c09321d81
2 changed files with 5 additions and 2 deletions
|
@ -74,7 +74,7 @@ func (loi *loggerObserverImpl) setLogFilePrefix(prefix string) {
|
|||
// Setting logFilePrefix for degCol logger
|
||||
degColLogFilePrefix := prefix + "_degCol.log"
|
||||
if loi.logDirectory != "" {
|
||||
schedTraceLogFilePrefix = loi.logDirectory + "/" + degColLogFilePrefix
|
||||
degColLogFilePrefix = loi.logDirectory + "/" + degColLogFilePrefix
|
||||
}
|
||||
loi.logObserverSpecifics[degColLogger].logFilePrefix = degColLogFilePrefix
|
||||
}
|
||||
|
|
|
@ -35,7 +35,10 @@ func Start(quit chan struct{}, logging *bool, logMType chan elecLogDef.LogMessag
|
|||
logMType <- elecLogDef.PCP
|
||||
logMsg <- scanner.Text()
|
||||
|
||||
// Throw away first set of results.
|
||||
logMType <- elecLogDef.DEG_COL
|
||||
logMsg <- fmt.Sprintf("CPU Variance, CPU Task Share Variance, Memory Variance, Memory Task Share Variance")
|
||||
|
||||
// Throw away first set of results
|
||||
scanner.Scan()
|
||||
|
||||
seconds := 0
|
||||
|
|
Reference in a new issue