To configure RWP logging

RWP errors can be found in the following files:

  • WAS Embedded Express log files (../rwp/EmbeddedExpress/profiles/profilen/logs). The logging is profile-based, with n representing either 1 or 2, based on the profile number.
  • IHS log files (../rwp/IHS/logs )
  • RWP startup and shutdown scripts log errors to the rwp/logs directory.
A number of configuration parameters related to access, error, and event logging in httpd.conf are grouped under the heading Logging-related directives. You may want to change any of the following:
  • ErrorLog specifies the name of the file where errors are logged. For example, ErrorLog IHS/logs/error.log specifies that errors will be logged in the file logs/error.log under the RWP installation directory.
    Note: Any RWP log file may be piped to the rotatelogs command, as described in Log rotation and log cleanup.
  • LogLevel specifies the type and severity of errors to be logged. For example, LogLevel warn specifies that errors up to and including warnings will be 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. RWP log levels
    LogLevel 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 RWP
  • LogFormat specifies the format in which events are logged. You can choose one of the predefined formats (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 RWP access requests are logged. For example, CustomLog logs/accesserror.log common specifies that access requests will be logged in the file logs/accesserror.log under the RWP installation directory in the common log file format.


Feedback