Cisco Model D-PCG1000 PowerKEY CAS Gateway User Guide
7-4
Enabling Tracing on the SARA Server
4009747 Rev B
Enable Tracing,
Continued
Enabling the Tracing Function
In order to enable or disable tracing for an SARA Server process, you must edit the
/dvs/appserv/tmp/trace.cfg file. Each line in this file represents a trace command
for an SARA Server process.
Lines that begin with a pound sign (#) are comments. The tracing function ignores
Lines that begin with a pound sign (#) are comments. The tracing function ignores
these lines. Therefore, in order to disable tracing, you can simply add a pound sign
to the beginning of the corresponding line.
Also, some of these comment lines may contain trace commands that have been
Also, some of these comment lines may contain trace commands that have been
disabled. To enable tracing, you can simply remove the pound sign from the
beginning of those lines.
Follow these steps to enable the tracing function for an SARA Server process:
Follow these steps to enable the tracing function for an SARA Server process:
1.
In an xterm window on the SARA Server, type cd /dvs/appserv/tmp and
press Enter.
Result: The /dvs/appserv/tmp directory becomes the working directory.
Result: The /dvs/appserv/tmp directory becomes the working directory.
2.
Type vi trace.cfg and press Enter.
Result: The trace.cfg file opens.
Result: The trace.cfg file opens.
3.
Does the file contain any comment lines that correspond with the tracing
function you want to enable?
•
•
If yes, remove the # from the beginning of that line and go to step 5.
•
If no, go to step 4.
4.
Use the arrow keys to scroll to the bottom of the file and add the appropriate
entry for the tracing function you want to enable. See The trace.cfg File
earlier in this section for more information on writing trace.cfg entries.
5.
Type :wq to save and close the file.
6.
Type dvs/appserv/bin/tools/showTracing to put the changes into effect.
Important: If you do not perform this step, the changes that you made will
Important: If you do not perform this step, the changes that you made will
not be put into effect.