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

Make it possible to dynamically change the log levels in CO #2809

Closed
scholzj opened this issue Apr 8, 2020 · 1 comment
Closed

Make it possible to dynamically change the log levels in CO #2809

scholzj opened this issue Apr 8, 2020 · 1 comment

Comments

@scholzj
Copy link
Member

scholzj commented Apr 8, 2020

We should make it possible to dynamically change the log levels in CO. Since it is using Log4j2, that might be easier than with Kafka components.

Would having a config map with a log4j2.proeprties file and enabling auto-reloading the logging config map using https://logging.apache.org/log4j/1.2/faq.html#a3.6 be enough? Or do we need to for example have a REST endpoint which will call something like ((org.apache.logging.log4j.core.LoggerContext) LogManager.getContext(false)).reconfigure().

@sknot-rh
Copy link
Member

sknot-rh commented Aug 6, 2020

Implemented in the PR #3328

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

2 participants