Руководство По Устранению Ошибки для Cisco Cisco Agent Desktop 9.0
Debugging Logs
March 13, 2015
41
Enabling Debugging for Java Applications
To enable debugging for Java applications:
1. Navigate to the appropriate folder.
■
For CAD-BE, navigate to the folder specified in
.
■
For all other Java applications, on the server on which the CAD services
are installed, navigate to
C:\Program Files (x86)\Cisco\Desktop\tomcat\conf.
are installed, navigate to
C:\Program Files (x86)\Cisco\Desktop\tomcat\conf.
2. Open the properties file. The configuration file contains one or more of the
following debugging statements at the beginning of the file.
#log4j.rootLogger=INFO,LOG,DBG
log4j.rootLogger=DEBUG,LOG,DBG
#log4j.rootLogger=CALL#com.calabrio.util.log.SplkLevel,LOG,DBG
#log4j.rootLogger=TRACE,LOG,DBG
#log4j.rootLogger=DUMP#com.calabrio.util.log.SplkLevel,LOG,DBG
log4j.rootLogger=DEBUG,LOG,DBG
#log4j.rootLogger=CALL#com.calabrio.util.log.SplkLevel,LOG,DBG
#log4j.rootLogger=TRACE,LOG,DBG
#log4j.rootLogger=DUMP#com.calabrio.util.log.SplkLevel,LOG,DBG
3. Add the ‘#’ character to the beginning of the existing debugging threshold
statement. Then either add a new debugging threshold statement or remove
the ‘#’ character at the beginning of the desired debugging threshold
statement if it already exists.
the ‘#’ character at the beginning of the desired debugging threshold
statement if it already exists.
For example, to select the CALL debugging threshold, add ‘#’ to the existing
debugging threshold statement. Then either add the third statement or
remove ‘#’ from the beginning of the third statement if it already exists.
debugging threshold statement. Then either add the third statement or
remove ‘#’ from the beginning of the third statement if it already exists.
#log4j.rootLogger=INFO,LOG,DBG
#log4j.rootLogger=DEBUG,LOG,DBG
log4j.rootLogger=CALL#com.calabrio.util.log.SplkLevel,LOG,DBG
#log4j.rootLogger=TRACE,LOG,DBG
#log4j.rootLogger=DUMP#com.calabrio.util.log.SplkLevel,LOG,DBG
#log4j.rootLogger=DEBUG,LOG,DBG
log4j.rootLogger=CALL#com.calabrio.util.log.SplkLevel,LOG,DBG
#log4j.rootLogger=TRACE,LOG,DBG
#log4j.rootLogger=DUMP#com.calabrio.util.log.SplkLevel,LOG,DBG
4. Save the configuration file with the new setting. You must restart the
application to make the new setting take effect. You must also restart the
Tomcat service for new settings to take effect in IP Phone Agent and Desktop
Administrator.
Tomcat service for new settings to take effect in IP Phone Agent and Desktop
Administrator.
Configuring Debugging for non-Java Applications
To configure debugging for non-Java applications:
1. On the machine on which the desktop application or CAD base services are
installed, navigate to C:\Program Files (x86)\Cisco\Desktop\config.
2. Open the appropriate configuration file.
3. Under the section headed [Debug Log], set the debugging threshold to an
appropriate value. For more information, see
. For example:
Threshold=DEBUG