Cisco Model D-PCG1000 PowerKEY CAS Gateway User Guide
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Enable Tracing
4023142 Rev B
111
Viewing Tracing Options
Complete these steps to view the tracing options contained in the trace.cfg file.
1 In an xterm window on the Application Server, type more trace.cfg and press
1 In an xterm window on the Application Server, type more trace.cfg and press
Enter. A list of tracing options displays on the screen.
2 Examine the list of tracing options to determine which functions you want to
enable.
3 Type the Ctrl and C keys simultaneously to exit the more utility.
4 Go to Syntax for the trace.cfg File.
4 Go to Syntax for the trace.cfg File.
Syntax for the trace.cfg File
You must enter the trace.cfg entries using the following syntax:
tracename programcontext tracelevel
The following table explains each component of the trace.cfg entry. Use the
tracename programcontext tracelevel
The following table explains each component of the trace.cfg entry. Use the
components to build entries for the trace.cfg file.
Important: To enable the tracing function, go to
Important: To enable the tracing function, go to
Enabling the Tracing Function (on
page 112).
Part
Description
tracename
Identifies the subset of code within an executable file that you want to
trace. The tracename component can be the trace name that was
registered in the executable code, or it can be the library file name
without the lib and .* extensions.
The tracename component is optional. You can include tracename to
The tracename component is optional. You can include tracename to
turn on tracing for a given subset of code, such as a library. If it is
omitted, tracing is turned on in all contexts for the tracename.
programcontext Identifies the process that you want to trace. The programcontext
component can be the name of the executable file or the trace name
that was registered in the executable code.
tracelevel
Identifies the level of detail that you want to capture for this process.
Examples:
_ipgui 2
_ipgui 2
The programcontext is _ipgui, and the tracelevel is 2. This entry starts
a level 2 trace on the _ipgui process.
gui _ipgui 1
The tracename is gui, the programcontext is _ipgui, and the tracelevel
is 1. This entry starts a level 1 trace on code labeled gui in the _ipgui
process. (This code may be in the gui library)
All _ipgui 1
The tracename is all, the programcontext is _ipgui, and the tracelevel is
1. This entry starts a level 1 trace on all code in the _ipgui process.