Remove use of getOpts() in log.go

This commit is contained in:
Tyler Treat
2017-06-06 08:51:34 -05:00
parent 1e799110af
commit 4f28bf7630

View File

@@ -96,8 +96,8 @@ func (s *Server) ReOpenLogFile() {
s.Noticef("File log re-open ignored, not a file logger")
} else {
fileLog := logger.NewFileLogger(opts.LogFile,
opts.Logtime, s.getOpts().Debug, opts.Trace, true)
s.SetLogger(fileLog, s.getOpts().Debug, opts.Trace)
opts.Logtime, opts.Debug, opts.Trace, true)
s.SetLogger(fileLog, opts.Debug, opts.Trace)
s.Noticef("File log re-opened")
}
}