mirror of
https://github.com/umputun/reproxy.git
synced 2024-09-11 08:55:25 +03:00
lint: silly thing
This commit is contained in:
parent
b79a9faf3c
commit
3dd986ba16
@ -347,7 +347,7 @@ func makeAccessLogWriter() (accessLog io.WriteCloser, err error) {
|
||||
return nil, fmt.Errorf("can't parse logger MaxSize: %w", perr)
|
||||
}
|
||||
|
||||
maxSize = maxSize / 1048576
|
||||
maxSize /= 1048576
|
||||
|
||||
log.Printf("[INFO] logger enabled for %s, max size %dM", opts.Logger.FileName, maxSize)
|
||||
return &lumberjack.Logger{
|
||||
|
Loading…
Reference in New Issue
Block a user