Skip to content

Commit bfddfd1

Browse files
committed
BUG/MINOR: log: don't duplicate log targets on reload
1 parent f964200 commit bfddfd1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

log/log.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ func InitWithConfiguration(targets Targets, old LoggingOptions, oldSyslog Syslog
3838
oldSyslogConfig = oldSyslog
3939
clusterConfig = clusterTargets
4040
node = nodeID
41+
appLogger = nil
42+
accessLogger = nil
4143
return Init()
4244
}
4345

0 commit comments

Comments
 (0)