mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 21:35:24 +01:00
multi: update log file max num and size defaults
This commit is contained in:
parent
8106810d9e
commit
e547d21920
@ -15,10 +15,10 @@ const (
|
||||
|
||||
// DefaultMaxLogFiles is the default maximum number of log files to
|
||||
// keep.
|
||||
DefaultMaxLogFiles = 3
|
||||
DefaultMaxLogFiles = 10
|
||||
|
||||
// DefaultMaxLogFileSize is the default maximum log file size in MB.
|
||||
DefaultMaxLogFileSize = 10
|
||||
DefaultMaxLogFileSize = 20
|
||||
)
|
||||
|
||||
// LogConfig holds logging configuration options.
|
||||
|
@ -94,7 +94,9 @@
|
||||
options to the `logging` config namespace under new `--logging.file.max-files`
|
||||
and `--logging.files.max-file-size` options. The old options (`--maxlogfiles`
|
||||
and `--maxlogfilesize`) will still work but deprecation notices have been
|
||||
added and they will be removed in a future release.
|
||||
added and they will be removed in a future release. The defaults values for
|
||||
these options have also been increased from max 3 log files to 10 and from
|
||||
max 10 MB to 20 MB.
|
||||
|
||||
## Breaking Changes
|
||||
## Performance Improvements
|
||||
|
@ -33,11 +33,11 @@
|
||||
; DEPRECATED: Use logging.file.max-files instead.
|
||||
; Number of logfiles that the log rotation should keep. Setting it to 0 disables
|
||||
; deletion of old log files.
|
||||
; maxlogfiles=3
|
||||
; maxlogfiles=10
|
||||
;
|
||||
; DEPRECATED: Use logging.file.max-file-size instead.
|
||||
; Max log file size in MB before it is rotated.
|
||||
; maxlogfilesize=10
|
||||
; maxlogfilesize=20
|
||||
|
||||
; Time after which an RPCAcceptor will time out and return false if
|
||||
; it hasn't yet received a response.
|
||||
@ -990,10 +990,10 @@
|
||||
|
||||
; Number of log files that the log rotation should keep. Setting
|
||||
; it to 0 disables deletion of old log files.
|
||||
; logging.file.max-files=3
|
||||
; logging.file.max-files=10
|
||||
|
||||
; Max log file size in MB before it is rotated.
|
||||
; logging.file.max-file-size=10
|
||||
; logging.file.max-file-size=20
|
||||
|
||||
; Compression algorithm to use when rotating logs.
|
||||
; Default:
|
||||
|
Loading…
Reference in New Issue
Block a user