Skip navigation.

Configuring Log Files and Filtering Log Messages

   Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

Introduction and Roadmap

Document Scope and Audience

Guide to This Document

Related Documentation

Logging Samples and Tutorials

Avitek Medical Records Application (MedRec) and Tutorials

Log4j Integration in MedRec

Logging Examples in the WebLogic Server Distribution

New and Changed Logging Features in This Release

Logging Volume Control

Support for Log4J

Support for Commons API

New Log File Directories and Locations

Log Content Enhancements

Changes in Logging MBeans

Understanding WebLogic Logging Services

What You Can Do With WebLogic Logging Services

How WebLogic Logging Services Work

Components and Environment


Overview of the Logging Process

Best Practices: Integrating Java Logging or Log4j with WebLogic Logging Services

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

Format of Output to Standard Out and Standard Error

Message Attributes

Message Severity

Viewing WebLogic Server Logs

Configuring WebLogic Logging Services

Configuration Scenarios

Overview of Logging Services Configuration

Using Log Severity Levels

Using Log Filters

Logging Configuration Tasks: Main Steps

Log4j and the Commons Logging API

About Log4j




How to Use Log4j with WebLogic Logging Services

Enabling Log4j Logging

How to Use the Commons API with WebLogic Logging Services

Rotating Log Files

Specifying the Location of Archived Log Files

Notification of Rotation

Redirecting JVM Output

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

Setting a Filter for Loggers and Handlers

Filtering Domain Log Messages

Setting a Severity Level and Filter on a Log4j Appender

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

Example: Implementing a Log4j Appender Class

Comparison of Java Logging Handlers with JMX Listeners


Skip footer navigation  Back to Top Previous Next