mirror of https://bitbucket.org/ausocean/av.git
megabytes -> MB
This commit is contained in:
parent
8c82a03c25
commit
9d2fd53335
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue