Elle Mouton
e547d21920
multi: update log file max num and size defaults
2024-10-30 13:30:04 +02:00
Elle Mouton
22c13790df
build+config: move maxlogfiles and maxfilesize to logger config
...
Add deprecation notices but continue to read both.
2024-10-30 13:30:04 +02:00
Elle Mouton
3adbdbb39a
multi: move logcompressor to logging.file.compressor
...
This is not a breaking change since the logcompressor config option has
not been released yet.
2024-10-30 13:30:04 +02:00
Elle Mouton
1886d3865b
build: extract File logging options into own struct
...
In preparation for extending LoggerConfig with file specific config.
2024-10-30 13:16:39 +02:00
Elle Mouton
0512357c17
build: dedup logging config
...
Move all shared code to config.go which has no build tags.
2024-10-30 13:15:34 +02:00
Elle Mouton
4c5e5653e4
build: rename config.go file
...
to config_prod.go in preparation for adding a shared config.go file.
2024-10-30 13:15:33 +02:00
Elle Mouton
30d39ac595
build+sample_conf: option to print log call-site
2024-10-22 17:07:50 +02:00
Elle Mouton
a8da3e525b
build: add styling option for console logger
...
This will only be available when the dev build tag is set
2024-10-22 17:03:55 +02:00
Elle Mouton
5ed7bf1b71
config: add logging config options
...
This commit adds config options so that users can for both the console
logger and the file logger set the following things:
- disable the logger
- omit timestamps from log lines.
2024-10-22 17:03:55 +02:00