mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(logging): make log size and log backups configurable (#657)
feat(logging): make log size and backups configurable
This commit is contained in:
parent
9e0edc577f
commit
0af95e2b44
4 changed files with 38 additions and 2 deletions
16
config.toml
16
config.toml
|
@ -35,6 +35,22 @@ port = 7474
|
|||
#
|
||||
logLevel = "TRACE"
|
||||
|
||||
# Log Max Size
|
||||
#
|
||||
# Default: 50
|
||||
#
|
||||
# Max log size in megabytes
|
||||
#
|
||||
#logMaxSize = 50
|
||||
|
||||
# Log Max Backups
|
||||
#
|
||||
# Default: 3
|
||||
#
|
||||
# Max amount of old log files
|
||||
#
|
||||
#logMaxBackups = 3
|
||||
|
||||
# Session secret
|
||||
#
|
||||
sessionSecret = "secret-session-key"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue