-
Notifications
You must be signed in to change notification settings - Fork 605
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
How do I enable DEBUG logging for Cruise Control? #2152
Comments
Interesting information here https://stackoverflow.com/questions/48310498/filtering-level-of-logger-messages Specifically about the |
mhratson
pushed a commit
that referenced
this issue
Aug 30, 2024
…2181) `log4j.properties` files are ignored in the test resources, after renamed, finally I was able to change the loglevels while unit/integration testing. I'm not sure if it was the issue on issue #2152, but this would be the fix for tests. Prod should work with the log4j.properties file as that is passed with -Dlog4j.configurationFile java opt
i tried this locally and it worked: diff --git a/config/log4j.properties b/config/log4j.properties
index ad3198a8..3ce9bc4a 100644
--- a/config/log4j.properties
+++ b/config/log4j.properties
@@ -2,7 +2,7 @@
# Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information.
#
-rootLogger.level=INFO
+rootLogger.level=DEBUG
appenders=console, kafkaCruiseControlAppender, operationAppender, requestAppender
property.filename=./logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried setting
in
log4j.properties
but that didn't make any difference.What am I missing?
The text was updated successfully, but these errors were encountered: