Skip to content

Commit

Permalink
fix file mode for extra log files
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Jan 22, 2022
1 parent c3de0eb commit 45e5f76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/logs/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func New() *Logger {

// SetupLogging splits log writers into a file and/or stdout.
func (l *Logger) SetupLogging(config *LogConfig) {
fileMode = config.FileMode.Mode()
l.logs = config
l.setDefaultLogPaths()
l.setLogPaths()
Expand Down

0 comments on commit 45e5f76

Please sign in to comment.