Cisco Cisco Agent Desktop 9.0 Referências técnicas
Cisco CAD Service Information 7.1
32
November 2006
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.
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.
suffix. These files are located in the …\Cisco\Desktop\log directory.
NOTE: It is recommended that if you want to read a debugging log
generated by CAD-BE on a computer with a Linux operating system, and you
are using a computer with a Windows operating system, you open the
debugging log with Microsoft Wordpad.
generated by CAD-BE on a computer with a Linux operating system, and you
are using a computer with a Windows operating system, you open the
debugging log with Microsoft Wordpad.
The debug files are numbered, up to the total number of files set in the configuration
file (the default number is 2). For example:
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.
created. When the total number of debug files have been created, the first debug file
is overwritten.
CAD-BE debug files are numbered, up to the total number of files set in the
configuration file. The file without an appended number is the current file, and the file
with the highest number is the oldest. For example:
configuration file. The file without an appended number is the current file, and the file
with the highest number is the oldest. For example:
■
CadBE.dbg
■
CadBE.dbg.1
■
CadBE.dbg.2
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.