log: Fix file logging, enable it properly. (#1424)

Fixes #1419
master
Harshavardhana 9 years ago committed by Anand Babu (AB) Periasamy
parent 9eb56f0676
commit dc45ea3946
  1. 2
      logger-file-hook.go

@ -35,7 +35,7 @@ type localFile struct {
func enableFileLogger() { func enableFileLogger() {
flogger := serverConfig.GetFileLogger() flogger := serverConfig.GetFileLogger()
if !flogger.Enable || flogger.Filename != "" { if !flogger.Enable || flogger.Filename == "" {
return return
} }

Loading…
Cancel
Save