Introduction
This document describes how to enable debug logging in both the CCM and CCO.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Enable Debug logging in CCM and CCO
To increase the logging level for the osmosix.log on the CCM / CCO, you need to change the level value from info to debug for com.osmosix and com.cliqr.
Modify this file on the CCM / CCO:
/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/log4j.xml
Change:
<logger name="com.osmosix">
<level value="info" />
</logger>
<logger name="com.cliqr">
<level value="info" />
</logger>
to
<logger name="com.osmosix">
<level value="debug" />
</logger>
<logger name="com.cliqr">
<level value="debug" />
</logger>
Also, add this if it's not in the log4j.xml file (It is listed under Apache HttpClient logging if it is already in the log4j.xml):
<logger name="org.apache.http">
<level value="trace" />
</logger>
Please note that versions prior to 4.3.3 requires tomcat restart.
/etc/init.d/tomcat stop
/etc/init.d/tomcat start