Created on 06-05-201808:30 PM - edited 08-17-201907:13 AM
OBJECTIVE:
Set logging level within DLM to "DEBUG" for all components to provide more detail when troubleshooting DLM/DSS issues such as pairing problems.
OVERVIEW:
Using some Docker and bash sleight of hand, update the logback configuration in the DLM Docker container to direct the application to log at a more verbose DEBUG level.
PREREQUISITES:
Root access or sudo on the DLM host.
STEPS:
1. Find the running Docker container for DLM on the host running DPS/DLM.
sudo docker ps
Note the docker container ID running dlm-app.
2. Get the current log configuration file from the container
3. Using vi or your favorite editor, update the logging configuration section below in the new local copy logback.xml.local, setting to "DEBUG" where desired:
To restore the previous level of logging, replace /usr/dlm-app/logs/application.log with the backup made in step 4 (/usr/dlm-app/conf/logback.xml.bak).