Table of Contents Table of Contents Title and Copyright Information Preface Audience Documentation Accessibility Diversity and Inclusion Related Documentation Logging Samples and Tutorials New and Changed WebLogic Server Features Conventions 1 Understanding WebLogic Logging Services What You Can Do With WebLogic Logging Services How WebLogic Logging Services Work Components and Environment Terminology Overview of the Logging Process Server Log Files and Domain Log Files How a Server Instance Forwards Messages to the Domain Log Server and Subsystem Logs Server Log Subsystem Logs Log Message Format Log File Format Compatibility with Previous WebLogic Server Versions Format of Output to Standard Out and Standard Error Message Attributes Message Severity Viewing WebLogic Server Logs Configuring java.util.logging Logger Levels Configuring java.util.logging Logger Levels Using WLST 2 Configuring WebLogic Logging Services Configuration Scenarios Overview of Logging Services Configuration Using Log Severity Levels Using Log Filters Logging Configuration Tasks: Main Steps How to Use the Commons API with WebLogic Logging Services Specifying Severity Level for Loggers Specifying Severity Level for WebLogic Server Subsystem Loggers Specifying the Severity Level for Commons Logging API Loggers Rotating Log Files Specifying the Location of Archived Log Files Notification of Rotation Redirecting JVM Output Configuring WebLogic Server to Redirect the JVM Output Redirecting Standard Error and Standard Output Preventing Excessive Logging 3 Filtering WebLogic Server Log Messages The Role of Logger and Handler Objects Filtering Messages by Severity Level or Other Criteria Setting the Severity Level for Loggers and Handlers Setting the Level for Loggers Setting the Level for Handlers Example: Setting the Level for Handlers Example: Setting the Severity Level for the Stdout Handler Setting a Filter for Loggers and Handlers Filtering Domain Log Messages 4 Subscribing to Messages Overview of Message Handlers Creating and Subscribing a Handler: Main Steps Example: Subscribing to Messages in a Server JVM Example: Implementing a Handler Class Example: Subscribing to a Logger Class Comparison of Java Logging Handlers with JMX Listeners