Cisco Model D-PCG1000 PowerKEY CAS Gateway User Guide

Page of 142
 
 
View the Log Files 
4023142 Rev B 
113 
 
View the Log Files 
The Application 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 Application 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 Application Server automatically deletes these log files after seven days. 
 
The Logger Utility 
The Application 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 goqam.gz and press Enter. In this 
command, goqam is the name of the file you want to view.  When you enter this 
command, the Application 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 
press Enter. The Application Server creates an unzipped file called vcServer.101. 
 
Log File Naming Conventions 
Log files for individual processes are stored in the /dvs/appserv/tmp directory. 
These files are named after the process that they traced, and the filename contains a 
three-character extension. For example, ppvfileserver.201 contains trace information 
for the ppvfileserver process. 
The first character of the three-character extension identifies the day of the week that 
the information was captured: 
Character 
Day of the Week 
Sunday 
Monday 
Tuesday