User guide

4-9
Cisco H.323 Signaling Interface User Guide
OL-2156-04 Rev. A1
Chapter 4 Managing the Cisco HSI
Logging
Convention for Naming Convention the Log File
Log rotation occurs when the system ceases to write to the current log file and commences to write to a
new log file. The LOGFILENAMEPREFIX parameter defines the name of the active log file (see
Chapter 3, “Provisioning the Cisco HSI”). The default is platform.log.
When log rotation is triggered, the existing file (for example, platform.log) is renamed with the format
platform_yyyymmddhhmmss.log (see Table 4-4). For example, a platform error file rotated on
September 30, 1999 at 12:36:24 is renamed platform_19990930123624.
Note The time stamp is the coordinated universal time (CUT) from the machine at the time of rotation.
Log File Location
The LOGDIRECTORY parameter defines the directory for active log files and rotated log files (see
Chapter 3, “Provisioning the Cisco HSI”). The default is $GWHOME/var/log/.
Log Messages
Log messages have the following format:
Date and timestamp, Package Name, <log level>, LogID:<text of the message>.
The following are examples of log messages:
Thu Dec 7 03:55:32:837 2000, Infrastructure, <DEBUG>, 205: GWModule Registration -
shutdownList() - NbOfItems 10 - Item 8
Thu Dec 7 03:55:32:837 2000, Infrastructure, <DEBUG>, 206 : GWModuleRegistration -
shutdownList() - NbOfItems 10 - Item 9
Thu Dec 7 03:55:32:838 2000, Infrastructure, <DEBUG>, 207 : GWReactor::thdId() returns 6.
Thu Dec 7 03:55:32:838 2000, Infrastructure, <DEBUG>, 208 : GWReactorModule::shutdown() -
Thread has joined.
Table 4-4 Log Filename Format
Format Definition
LOGFILENAMEPREFIX Provisioned filename (default is platform.log)
yyyy Year
mm Month
dd Day
hh Hour
mm Minute
ss Second