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
|
// Setting logFilePrefix for degCol logger
|
||||||
degColLogFilePrefix := prefix + "_degCol.log"
|
degColLogFilePrefix := prefix + "_degCol.log"
|
||||||
if loi.logDirectory != "" {
|
if loi.logDirectory != "" {
|
||||||
schedTraceLogFilePrefix = loi.logDirectory + "/" + degColLogFilePrefix
|
degColLogFilePrefix = loi.logDirectory + "/" + degColLogFilePrefix
|
||||||
}
|
}
|
||||||
loi.logObserverSpecifics[degColLogger].logFilePrefix = degColLogFilePrefix
|
loi.logObserverSpecifics[degColLogger].logFilePrefix = degColLogFilePrefix
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,10 @@ func Start(quit chan struct{}, logging *bool, logMType chan elecLogDef.LogMessag
|
||||||
logMType <- elecLogDef.PCP
|
logMType <- elecLogDef.PCP
|
||||||
logMsg <- scanner.Text()
|
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()
|
scanner.Scan()
|
||||||
|
|
||||||
seconds := 0
|
seconds := 0
|
||||||
|
|
Reference in a new issue