Administrator's and User's Guide for SFM HP-UX 11i v3 April 2010

Tracing Evweb
This section provides an overview of tracing and information about the various trace levels in
Evweb. This section also describes administrative tasks, such as enabling, modifying, and disabling
tracing.
This section addresses the following topics:
“Enabling Tracing Using the Evweb GUI” (page 72)
“Enabling Tracing Using the Evweb CLI” (page 73)
“Modifying Tracing Using the Evweb GUI” (page 73)
“Modifying Tracing Using the Evweb CLI” (page 73)
“Disabling Tracing Using the Evweb GUI” (page 73)
“Disabling Tracing Using the Evweb CLI” (page 74)
Tracing is a feature that enables you to log and report errors. You can use tracing to log
information about problems encountered while using Evweb. In this document, this information
is referred to as trace records. The trace records are stored in the /var/opt/sfm/log/sfm.log
file. You can send the sfm.log file to the HP support center whenever you encounter a problem.
Following is a sample of the information logged in sfm.log.
01/04/06 06:50:08 EVMAN_COMMANDS ERROR 1069627450 1 Subscription with
this name already exist, Please choose different name and try again.
Table 5-4 describes the fields included in the sfm.log file.
Table 5-4 Entries in sfm.log
DescriptionField
Displays the date when the message was logged in the sfm.log file.
Date
Displays the time when the message was logged in the sfm.log file.
Time
Displays the name of the module or the providers that logged the message
in the sfm.log file, for example, EVWEB_CLI and FMDProviders.
Module Name
Displays the severity of the message logged in the sfm.log file.
Severity
Displays the 10-digit process ID.Process ID
Displays the thread ID.Thread ID
Displays the text message.Message
To change the default location of the sfm.log file, you must configure the
/var/opt/sfm/conf/FMLoggerConfig.xml file.
You can enable, modify, and disable tracing for an Evweb session. A session is the duration
between a login and a logout. At the end of a session, tracing is automatically disabled. In an
active session, the trace level remains valid until you modify it.
Evweb provides the following trace levels in the descending order of severity:
1-Critical
2-Error
3-Warning
4-Information
Table 5-5 describes the trace levels in Evweb.
Tracing Evweb 71