Cisco Model D-PCG1000 PowerKEY CAS Gateway User Guide
7-6
Enabling Tracing on the SARA Server
4009747 Rev B
View the Log Files
Introduction
The SARA Server captures various kinds of trace information to various log files.
Those log files are stored in two directories: /var/log/dncsLog and
/dvs/appserv/tmp.
•
•
The files in /var/log/dncsLog only contain error message and process start/stop
messages. The SARA Server automatically deletes these log files after three days.
•
The files in /dvs/appserv/tmp contain all of the process output that is captured.
The SARA Server automatically deletes these log files after seven days.
The Logger Utility
The SARA Server includes a utility called Logger that manages the size, name, and
placement of the log files in the/dvs/appserv/tmp directory. Logger stores these
files for seven days. Logger creates a new log file for each traced process every day
or when the previous log file reaches a pre-determined size. When Logger creates a
new log file, it closes the old file and compresses it using the gzip utility. A
compressed file is renamed to include a .gz extension.
Viewing the Log File
To view the data in a zipped log file, type gzip –dc <filename>.gz and press Enter.
In this command, <filename> is the name of the file you want to view. When you
enter this command, the SARA Server creates an unzipped file without the .gz
extension.
For example, to view the data in vcServer.101.gz, type gzip –dc vcServer.101.gz and
For example, to view the data in vcServer.101.gz, type gzip –dc vcServer.101.gz and
press Enter. The SARA Server creates an unzipped file called vcServer.101.