mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 11:48:43 -07:00
Remove use of getOpts() in log.go
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user