LogLevel statement

Use the LogLevel statement to specify the level of logging and tracing.

Syntax

Read syntax diagramSkip visual syntax diagramLogLevel 7LogLevel  level

Parameters

level
Specifies the log level . The level value represents a particular log level or combination of debug levels. Possible values are:
0
No messages are logged.
1
Error-level messages are logged.
2
Warning-level messages are logged.
4
Event-level messages are logged.
8
Information-level messages are logged.
16
JES-level messages are logged. This value traces Communications Server SMTP (CSSMTP) commands and command syntax parser replies between the JES spool file and CSSMTP.
32
Network-level messages are logged. This traces CSSMTP commands and remote SMTP server replies between CSSMTP and the TCP/IP network.
64
Debug-level messages are logged. These messages are internal debug messages intended for development and IBM® service use only.
128
Trace-level messages are logged. These messages are function entry and exit traces that show the path through the code. This level is intended for development and IBM service use only.

Guideline: To log a combination of log levels, add the log level numbers and specify the resulting value. During the initialization phase of the application the log level is set to 127 to capture any initialization problems. When initialization is complete, then the log level value is set to what is coded on this statement. The default log level is 7, which captures all error, warning, and event messages after the initialization is complete.