Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Configurable Log Levels #84

Open
ogmueller opened this issue Feb 24, 2025 · 0 comments
Open

Introduce Configurable Log Levels #84

ogmueller opened this issue Feb 24, 2025 · 0 comments

Comments

@ogmueller
Copy link

Would it make sense to introduce configurable log levels to prevent logs from being flooded with debug messages? While I understand that debug messages are essential for development, they can be unnecessary and even distracting in production environments.

I noticed that there are DEBUG and NOTICE log messages, but currently, there doesn’t seem to be a way to filter them dynamically. It would be beneficial to have a configurable log level setting that allows users to suppress DEBUG messages (or other levels) as needed.

Suggested Improvement
• Implement a configurable log level setting that enables users to control the verbosity of logs.
• Provide an option to exclude DEBUG messages in production while keeping higher-priority logs like NOTICE, WARNING, or ERROR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant