Cisco Cisco Agent Desktop 8.5 Referências técnicas

Página de 214
Debugging
31-Mar-06
33
Debugging
Debugging Logs
CAD can create debugging logs, although by default this capability is disabled. If you 
want debugging turned on, you must edit the appropriate configuration file. 
Debugging information is written to the various debug files, all of which have a *.dbg 
suffix. These files are located in the …\Cisco\Desktop\log directory.
The debug files are numbered, up to the total number of files set in the configuration 
file (the default number is 2). For example:
agent0001.dbg
agent0002.dbg
When agent0001.dbg reaches its size limit, it is closed and agent0002.dbg is 
created. When the total number of debug files have been created, the first debug file 
is overwritten.
To turn on debugging:
1. Open the appropriate configuration file.
2. Under the section headed [Debug Log], set the debugging threshold to an 
appropriate value. For example:
THRESHOLD=DEBUG
3. Save the configuration file with the new setting.
Debugging Thresholds
When setting the debugging threshold, keep in mind that the more detail the 
threshold provides, the slower the performance of your PC and increases the size of 
the debug file.
The available debugging thresholds are:
Table 16.
Debugging Thresholds
Threshold
Records:
Debug
• Minor and frequently-occurring normal events. This level is 
usually sufficient for debugging a problem, and will not affect 
the computer’s performance.
Call
• Minor and frequently-occurring normal events
• Entering and exiting functions