Previous Topic: Record Messages in a Log File

Next Topic: Append Messages to Log Files

Specify Log Levels

You can configure the Affiliate Server to generate different levels of log messages. Choosing a log level can facilitate troubleshooting by dictating the severity and extent of the logged messages.

The following is an example of a log message:

Feb 25, 2009 10:41:52 AM[6631688:smmtserver] Server Started listening for requests

The following table lists the log levels that you can select:

Log Level

Type of Message

0

No error messages are logged.

1

Error messages only. For example, the inability of the Affiliate Server to communicate with the producer.

2

Error and informational messages. These messages provide information about processes without a lot of detail.

3

All messages, including those of the least importance, such as header details and cookie variables, as well as trace messages, flow state messages, all with the highest level of detail. This is the default log level.

For the chosen log level, the Affiliate Server prints messages for that level and messages from any lower level. For example, if you choose level 3, all messages from levels 0 through 3 are printed.

To specify the log level

  1. Set the loglevel attribute to a value from 0 through 3.

    For example: loglevel=2

  2. If you are using any of the following web servers, you must restart the web server to apply the changes: