Cisco Model D-PCG1000 PowerKEY CAS Gateway
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
View the Log Files
4038960 Rev A
131
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 messages 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 creates a new log file for each traced process every day or when the previous
Logger creates a new log file for each traced process every day or when the previous
log file reaches a pre-determined size; these log files are stored for seven days.
When Logger creates a new log file, it closes and compresses the old file using the
When Logger creates a new log file, it closes and compresses the old file using the
gzip utility, which renames the compressed file to include a .gz extension.
Viewing the Log File
To view the data in a zipped log file, type gunzip 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 gunzip vcServer.101.gz and
For example, to view the data in vcServer.101.gz, type gunzip 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. The
file name of the log for an individual process is the name of the process followed by
a 3-digit counter. For example, the file name for the ppvServer log might be
ppvServer.000. After this log file reaches the maximum size, a new file called
ppvServer.001 will be created.