mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +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
|
@ -7,6 +7,8 @@ type Config struct {
|
|||
Port int `toml:"port"`
|
||||
LogLevel string `toml:"logLevel"`
|
||||
LogPath string `toml:"logPath"`
|
||||
LogMaxSize int `toml:"logMaxSize"`
|
||||
LogMaxBackups int `toml:"logMaxBackups"`
|
||||
BaseURL string `toml:"baseUrl"`
|
||||
SessionSecret string `toml:"sessionSecret"`
|
||||
CustomDefinitions string `toml:"customDefinitions"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue