pr-agent
pr-agent copied to clipboard
[Feature Request] Convert logging configuration to use loguru-config
The current logging configuration is in code. This does not provide the flexibility to modify logging without requiring forking and making code changes.
The loguru-config module allows for configuring loggers using a yaml or json file. Logging should be switched over to use this with a default file that emulates the current logging settings.
I don't see this as a feature that would be relevant to many other users. These micro customizations can build up and clog and overload a repo. Hence, they are suitable for a fork
It's useful to allow tuning the log levels on different loggers / packages. Additionally, in an enterprise environment it's not uncommon to be able to customize logging formats and log rotation settings so log ingesters (such as Splunk) can better parse them.