diff options
Diffstat (limited to 'modules/logging')
-rw-r--r-- | modules/logging/filewriter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/logging/filewriter.go b/modules/logging/filewriter.go index cc60c64..f17f975 100644 --- a/modules/logging/filewriter.go +++ b/modules/logging/filewriter.go @@ -96,7 +96,7 @@ func (fw FileWriter) WriterKey() string { // OpenWriter opens a new file writer. func (fw FileWriter) OpenWriter() (io.WriteCloser, error) { // roll log files by default - if fw.Roll == nil || *fw.Roll == true { + if fw.Roll == nil || *fw.Roll { if fw.RollSizeMB == 0 { fw.RollSizeMB = 100 } |