pr-agent icon indicating copy to clipboard operation
pr-agent copied to clipboard

[Feature Request] Convert logging configuration to use loguru-config

Open MarkRx opened this issue 1 year ago • 2 comments

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.

MarkRx avatar Jun 27 '24 13:06 MarkRx

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

mrT23 avatar Jun 29 '24 09:06 mrT23

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.

MarkRx avatar Jul 02 '24 14:07 MarkRx