How to enable debug tracing for custom logback in Docker
book
Article ID: KB0074607
calendar_today
Updated On:
TIBCO BusinessWorks Container Edition
|
2.5.*
|
Description
When deploying an application in Docker, how can I enable the trace level to debug custom logback issues?
Environment
All Docker-formatted containers
Resolution
Add the below environment variable to your docker run command to enable debug logging for the custom logback.
-e BW_JAVA_OPTS="-Dlogback.debug=true"
For example:
$> docker run -e CUSTOM_LOGBACK="true" -e BW_JAVA_OPTS="-Dlogback.debug=true" testapp
Issue/Introduction
How to enable debug tracing for custom logback in Docker
Feedback
thumb_up
Yes
thumb_down
No