12 log4j.properties

Apache log4j is used as the logging system in new WebCenter Sites 11gR1 installations.

Note:

While Apache log4j is supported in the process of upgrading to WebCenter Sites 11gR1, installation engineers have the option to continue using Jakarta Commons Logging if the source system (FatWire Content Server 7.6 patch 1 or patch 2) was set to use Jakarta Commons Logging. Once a system is upgraded, switching to Apache log4j becomes a manual process, as described in "Setting Up Apache log4j" in the Oracle Fusion Middleware WebCenter Sites Administrator's Guide.

When Apache log4j is set up, two files are configured:

When log4j is set up, the WebCenter Sites Admin interface displays the Configure log4j tool in the System Tools node, on the Admin tab. The Configure log4j tool enables general administrators to view current loggers, temporarily change logger levels, and add new loggers directly from the administrator's interface. Changes made from the Admin interface remain in effect only until WebCenter Sites is restarted. They will persist upon restart only if the text version of the logger properties is copied from the interface to the log4j.properties file. (Changes that are made directly in the log4j.properties file will not be applied to WebCenter Sites until the system is restarted.) For more information about the Configure log4j tool, see the Oracle Fusion Middleware WebCenter Sites Administrator's Guide.