-
Notifications
You must be signed in to change notification settings - Fork 34
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
[ANCHOR-610] Fix log level #1268
Conversation
.forEach( | ||
(String cfgName, Object cfgValue) -> { | ||
if (cfgName.startsWith("logging.level") && cfgValue instanceof String) { | ||
LoggingSystem system = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Do we need to call this for every source?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually not, but it's just for one partner in the legacy branch (and most likely they will only use it for debug logs), so I decided to keep it simple
@@ -53,12 +53,4 @@ Configutation: | |||
level: info | |||
AppenderRef: | |||
- ref: ${env:LOG_APPENDER:-console_appender} | |||
Logger: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the log levels set to after removing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default is always INFO
Description
Remove hardcoded DEBUG level of Stellar and add support of dynamic logging configuration reload
Context
Previously, it was impossible to set DEBUG level to Stellar level config
Testing
Manually tested with different log levels
Documentation
N/A
Known limitations
N/A