33 Oracle Diagnostic Logging (ODL) Configurations
When ODL is set up, the WebCenter Sites Admin interface displays the Configure Log ODL tool, under System Tools, in the Admin node, in the General Admin tree. The Configure Log ODL tool enables general administrators to view current loggers, temporarily change logger levels, and add new loggers directly from the Admin interface. Changes made from the Admin interface remain in effect only until WebCenter Sites is restarted. They will persist upon restart only if you manually add the loggers to the logging-config.xml
file. (Changes that are made directly in the logging-config.xml
file will not be applied to WebCenter Sites until the system is restarted.)
The following topics provide information about configuring the logging-config.xml
file:
33.1 Adding Loggers
To add new loggers to the ODL framework in your WebCenter Sites system, manually add them to the logging-config.xml
file.
33.2 Changing Logger Levels
The logging-config.xml
file enables you to permanently change logger levels. The changes you make to loggers in the logging-config.xml
file take effect when WebCenter Sites is restarted. You can also configure loggers to inherit verbosity levels from the root logger or a parent logger. To temporarily change logger levels during a session, use the Configure ODL tool in the Admin interface.
Note:
-
For information about changing logger levels from the Admin interface, see Changing Logger Levels in Oracle Fusion Middleware Administering Oracle WebCenter Sites.
-
Log4j log levels set by users cannot be migrated to ODL logs. Users must set these levels manually after the upgrade.
logging-config.xml
file: