Bump default logfile-max-number to 10 (#6092)

* Bump default `logfile-max-number` to 10.

* Bump default `logfile-max-number` to 10.

* Fix docs
This commit is contained in:
Jimmy Chen
2024-07-16 11:19:00 +10:00
committed by GitHub
parent 13ffdd211d
commit 6856134ded
8 changed files with 8 additions and 8 deletions

View File

@@ -241,7 +241,7 @@ Options:
[possible values: DEFAULT, JSON] [possible values: DEFAULT, JSON]
--logfile-max-number <COUNT> --logfile-max-number <COUNT>
The maximum number of log files that will be stored. If set to 0, The maximum number of log files that will be stored. If set to 0,
background file logging is disabled. [default: 5] background file logging is disabled. [default: 10]
--logfile-max-size <SIZE> --logfile-max-size <SIZE>
The maximum size (in MB) each log file can grow to before rotating. If The maximum size (in MB) each log file can grow to before rotating. If
set to 0, background file logging is disabled. [default: 200] set to 0, background file logging is disabled. [default: 200]

View File

@@ -70,7 +70,7 @@ Options:
[possible values: DEFAULT, JSON] [possible values: DEFAULT, JSON]
--logfile-max-number <COUNT> --logfile-max-number <COUNT>
The maximum number of log files that will be stored. If set to 0, The maximum number of log files that will be stored. If set to 0,
background file logging is disabled. [default: 5] background file logging is disabled. [default: 10]
--logfile-max-size <SIZE> --logfile-max-size <SIZE>
The maximum size (in MB) each log file can grow to before rotating. If The maximum size (in MB) each log file can grow to before rotating. If
set to 0, background file logging is disabled. [default: 200] set to 0, background file logging is disabled. [default: 200]

View File

@@ -86,7 +86,7 @@ Options:
[possible values: DEFAULT, JSON] [possible values: DEFAULT, JSON]
--logfile-max-number <COUNT> --logfile-max-number <COUNT>
The maximum number of log files that will be stored. If set to 0, The maximum number of log files that will be stored. If set to 0,
background file logging is disabled. [default: 5] background file logging is disabled. [default: 10]
--logfile-max-size <SIZE> --logfile-max-size <SIZE>
The maximum size (in MB) each log file can grow to before rotating. If The maximum size (in MB) each log file can grow to before rotating. If
set to 0, background file logging is disabled. [default: 200] set to 0, background file logging is disabled. [default: 200]

View File

@@ -62,7 +62,7 @@ Options:
[possible values: DEFAULT, JSON] [possible values: DEFAULT, JSON]
--logfile-max-number <COUNT> --logfile-max-number <COUNT>
The maximum number of log files that will be stored. If set to 0, The maximum number of log files that will be stored. If set to 0,
background file logging is disabled. [default: 5] background file logging is disabled. [default: 10]
--logfile-max-size <SIZE> --logfile-max-size <SIZE>
The maximum size (in MB) each log file can grow to before rotating. If The maximum size (in MB) each log file can grow to before rotating. If
set to 0, background file logging is disabled. [default: 200] set to 0, background file logging is disabled. [default: 200]

View File

@@ -74,7 +74,7 @@ Options:
[possible values: DEFAULT, JSON] [possible values: DEFAULT, JSON]
--logfile-max-number <COUNT> --logfile-max-number <COUNT>
The maximum number of log files that will be stored. If set to 0, The maximum number of log files that will be stored. If set to 0,
background file logging is disabled. [default: 5] background file logging is disabled. [default: 10]
--logfile-max-size <SIZE> --logfile-max-size <SIZE>
The maximum size (in MB) each log file can grow to before rotating. If The maximum size (in MB) each log file can grow to before rotating. If
set to 0, background file logging is disabled. [default: 200] set to 0, background file logging is disabled. [default: 200]

View File

@@ -43,7 +43,7 @@ Options:
[possible values: DEFAULT, JSON] [possible values: DEFAULT, JSON]
--logfile-max-number <COUNT> --logfile-max-number <COUNT>
The maximum number of log files that will be stored. If set to 0, The maximum number of log files that will be stored. If set to 0,
background file logging is disabled. [default: 5] background file logging is disabled. [default: 10]
--logfile-max-size <SIZE> --logfile-max-size <SIZE>
The maximum size (in MB) each log file can grow to before rotating. If The maximum size (in MB) each log file can grow to before rotating. If
set to 0, background file logging is disabled. [default: 200] set to 0, background file logging is disabled. [default: 200]

View File

@@ -63,7 +63,7 @@ Options:
[possible values: DEFAULT, JSON] [possible values: DEFAULT, JSON]
--logfile-max-number <COUNT> --logfile-max-number <COUNT>
The maximum number of log files that will be stored. If set to 0, The maximum number of log files that will be stored. If set to 0,
background file logging is disabled. [default: 5] background file logging is disabled. [default: 10]
--logfile-max-size <SIZE> --logfile-max-size <SIZE>
The maximum size (in MB) each log file can grow to before rotating. If The maximum size (in MB) each log file can grow to before rotating. If
set to 0, background file logging is disabled. [default: 200] set to 0, background file logging is disabled. [default: 200]

View File

@@ -169,7 +169,7 @@ fn main() {
"The maximum number of log files that will be stored. If set to 0, \ "The maximum number of log files that will be stored. If set to 0, \
background file logging is disabled.") background file logging is disabled.")
.action(ArgAction::Set) .action(ArgAction::Set)
.default_value("5") .default_value("10")
.global(true) .global(true)
.display_order(0) .display_order(0)
) )