1
0
mirror of https://github.com/minio/minio.git synced 2025-03-31 09:43:43 -04:00

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

Fixes 
This commit is contained in:
Harshavardhana 2016-04-29 17:54:02 -07:00 committed by Anand Babu (AB) Periasamy
parent 9eb56f0676
commit dc45ea3946

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