Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

- Previous: Are RMI-IIOP Stubs Needed to Access Remote EJBs?

# How Do I Change the Log Level for an Application Logger?

Each application uses its own application logger to log messages. To configure the log level for a particular application, use one of two options:

- In the Admin GUI Log Level configuration page add a property with a property `name` representing the logger name, and the `value` representing one of seven log levels (`FINEST`, `FINER`, `FINE`, `CONFIG`, `INFO`, `WARNING`, `SEVERE`) or `OFF`.

  For example, to change the log level of application logger named `com.X.Y` to `FINEST`, the property `name` would be `com.X.Y` and the property `value` would be `FINEST`. The change is reflected in the `domain.xml` file, and takes effect immediately. No Server restart is required.

- Directly add the property to the `<module-log-levels\>` element in `domain.xml`, as shown below.

      <module-log-levels admin="INFO" classloader="INFO" cmp="INFO"
      cmp-container="INFO" configuration="INFO" connector="INFO"
      corba="INFO" deployment="INFO" ejb-container="INFO" javamail="INFO"
      jaxr="INFO" jaxrpc="INFO" jdo="INFO" jms="INFO" jta="INFO"
      jts="INFO" mdb-container="INFO" naming="INFO" node-agent="INFO"
      resource-adapter="INFO" root="INFO" saaj="INFO" security="INFO"
      server="INFO" synchronization="INFO" util="INFO" verifier="INFO"
      web-container="INFO"\>
          <property name="com.X.Y" value="FINEST" /\>
      </module-log-levels\>

- Previous: Are RMI-IIOP Stubs Needed to Access Remote EJBs?

- © 2010, Oracle Corporation and/or its affiliates