About this task
Other server component errors
can be found in the log files available under the profile directory for each
profile. Additional errors can be found in these files:
- IHS log files (../IHS/logs)
- CM Server startup and shutdown scripts log errors to the CM/logs directory.
- Rational® ClearQuest® Web
or CCRC log files.
The logs provide information about server startup, starting of the RPC
servers, and other server information.
A number of configuration parameters
related to access, error, and event logging in
httpd.conf are
grouped under the heading
Logging-related directives. You can change
any of these parameters:
- ErrorLog specifies the name of the file where errors
are logged. For example, ErrorLog IHS/logs/error.log specifies
that errors are logged in the file logs/error.log under
the CM Server installation directory.
- LogLevel specifies the type and severity of errors
to be logged. For example, LogLevel warn specifies that
errors up to and including warnings are logged. Table 1 lists
the various log levels in order of decreasing severity. Specifying any of
these values logs events of that severity and all lower severities.
Table 1. CM Server log levelsLogLevel |
Messages logged |
emerg |
Emergency messages about events that may render the server
inoperable (Highest severity) |
alert |
Conditions that should be corrected immediately |
crit |
Critical conditions such as hardware or system errors |
error |
All other errors |
warn |
Warning messages |
notice |
Conditions that may require special handling |
info |
Informational messages (lowest severity) |
debug |
Debugging CM Server |
- LogFormat specifies the format in which events are
logged. You can choose a predefined format (for example, common),
or you can define your own format. For more information about format tokens
and the rules for constructing log file strings, see the documentation for mod_log_config at http://www.apache.org/.
- CustomLog specifies the name of the file in which CM
Server access requests are logged. For example, CustomLog logs/accesserror.log
common specifies that access requests are logged in the file logs/accesserror.log under
the CM Server installation directory in the common log
file format.