pull/7976/head
Edd Robinson 2017-02-03 11:57:35 +00:00
parent 76235f1e00
commit 908959a78a
1 changed files with 2 additions and 2 deletions

View File

@ -872,10 +872,10 @@ func (i *Index) compactLogFile() error {
}(); err != nil {
return err
}
log.Printf("tsi1: finished compacting log file: file=%s, t=%s", logFile.Path, time.Since(start))
log.Printf("tsi1: finished compacting log file: file=%s, t=%v", logFile.Path(), time.Since(start))
// Closing the log file will automatically wait until the ref count is zero.
log.Printf("tsi1: removing log file: file=%s", logFile.Path)
log.Printf("tsi1: removing log file: file=%s", logFile.Path())
if err := logFile.Close(); err != nil {
return err
} else if err := os.Remove(logFile.Path()); err != nil {