How to change the log level (reducing the amount of debug logs)?
See original GitHub issueIssue Description
What version of UAA are you running?
4.11.0
How are you deploying the UAA?
Official Maven JAR from Maven Central
What did you do?
UAA is producing a lot of logs. We want to define different log levels for different environments, but unable to do it or find documentation about it.
We are packaging it in a Docker container and we tried things like below but without success.
# Set logging level
ENV JAVA_OPTS="${JAVA_OPTS} -Dlog4j2.logLevel=INFO"
ENV CATALINA_OPTS="${CATALINA_OPTS} -Dlog4j2.logLevel=INFO"
ENV LOG4J_LEVEL INFO
RUN sed -i 's/level = FINE/level = INFO/g' /usr/local/tomcat/conf/logging.properties
Is there a way to change the level thorough uaa.yml
configuration, or something else?
Thanks for the help!
What did you expect to see? What goal are you trying to achieve with the UAA?
Reducing amount of logs
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Change Logging Levels - Tableau Help
Increasing the log level to debug or trace increases the amount of information being logged and can have a significant impact to performance....
Read more >5 Ways to Change Log Levels at Runtime - DZone DevOps
Merely select the logger and change the log level in just click of a button. As highlighted in the figure it will change...
Read more >Set Up Debug Logging - Salesforce Help
To configure trace flags and debug levels from the Developer Console, click Debug | Change Log Levels. Then complete these actions. To create...
Read more >Logging Levels: What They Are & How to Choose Them
The log levels can help to reduce the information noise and alert fatigue ... The DEBUG log level should be used for information...
Read more >How to change software logging level and how to get logs
Find the logLevel variable. Double click it and set the desired value (e.g., DEBUG). Click OK to save. Start the client to apply...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You may want to exclude commons-logging from your classpath (e.g. via Maven exclusions) and add the jcl-over-slf4j bridge instead: https://www.slf4j.org/legacy.html#jcl-over-slf4j
fyi this has been fixed and will be in the next release of
uaa