Setting the Java logging level on Oracle WebLogic Server

You can change the type of information that is reported in the server log.

Before you begin

The following instructions are based on the default installation.

About this task

To log the execution activity, WebLogic Server uses the logging service of the Java™ connector architecture (JCA).

Setting the logging level for the XU

About this task

For the XU, you control the level of the JCA messages through the WebLogic Server administration console.

Procedure

  1. Modify the XU connection factory traceLevel property to the appropriate log level.

    The following levels are available: SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL

  2. Open Deployments > xu > Configuration > Outbound Connection Pools.
  3. Click the XU connection factory JNDI name under javax.resource.cci.ConnectionFactory.
  4. Click the Logging tab.
  5. Enter a name for the log file.
  6. Save and restart the application server.

Setting the logging level for other components

About this task

To log the activity of execution components other than the XU, you use the JDK logging API. See the Oracle WebLogic Server web site, Understanding WebLogic Logging Services.

Procedure

  1. Create a logging.properties file, and make sure that it is used by the server.
  2. Set the logging implementation to JDK, by using the WebLogic Server administration console.
  3. Set the severity level to Trace or Debug to log ALL traces.