Cisco Headend System Release 2.5 Installation Guide
View the Log Files on the Application Server
4017650 Rev C
185
View the Log Files on the Application Server
Introduction
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 log files contain the following information:
files. Those log files are stored in two directories: /var/log/dncsLog and
/dvs/appserv/tmp. The log files contain the following information:
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.
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 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 7 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.
and placement of the log files in the/dvs/appserv/tmp directory. Logger stores
these files for 7 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.
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.
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.
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 as follows:
the information was captured as follows:
Character
Day of the Week
0
Sunday