megabytes -> MB

This commit is contained in:
Scott 2020-01-22 15:33:23 +10:30
parent 8c82a03c25
commit 9d2fd53335
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ func handleFlags() config.Config {
log = logger.New(cfg.LogLevel, io.MultiWriter( log = logger.New(cfg.LogLevel, io.MultiWriter(
&lumberjack.Logger{ &lumberjack.Logger{
Filename: filepath.Join(*logPathPtr, "netsender.log"), Filename: filepath.Join(*logPathPtr, "netsender.log"),
MaxSize: 500, // megabytes MaxSize: 500, // MB
MaxBackups: 10, MaxBackups: 10,
MaxAge: 28, // days MaxAge: 28, // days
}, },