Configuring the Common Logger for Siebel Application Interface

You can configure the log level for the Siebel Application Interface common logger, which is used for certain common logging tasks. This log cannot be configured using Siebel Management Console, unlike other types of logging for Siebel Application Interface described in Siebel Installation Guide.

To configure the log level for the common logger, you edit the file log4j2-siebel.properties, which is located in the directory SIEBEL_AI_ROOT\applicationcontainer_external\webapps\siebel\WEB-INF.

When configuring the log level for the common logger, modify only the following line, and no other part of the file. For example, you can change the level from ERROR to INFO. You can use the following values: TRACE, DEBUG, INFO, WARN, ERROR, or FATAL. The default log level configured in the file is ERROR.

logger.CommonLogger.level = ERROR
Note: Settings such as INFO, DEBUG, or TRACE can exponentially increase the size of the log files, consume a large amount of disk space, and reduce performance of the Siebel Application Interface node. Use these settings only when some investigation is needed.

If you plan to configure the log level for the common logger, it is recommended to do so after you finish configuring Siebel Application Interface using Siebel Management Console. After modifying the log4j2-siebel.properties file, you must restart the application container, as described in Siebel Installation Guide.

Optionally, you can configure the log4j2-siebel.properties file to include the monitorInterval parameter, which allows changing the log level at runtime for all application container logs that are controlled by this file and not by profiles in Siebel Management Console. If you change the following line:


status = warn
name = Siebel
monitorinterval = 300

Then Apache Tomcat checks for changes in the log level within the specified interval (300 seconds, or 5 minutes) and, if the log level changed, then the log statements are written to log files to reflect the change in the log level.

Related Topics

Configuring Siebel Gateway Log Files

Related Books

Siebel Installation Guide