Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Redirect JVM output


The JVM in which a WebLogic Server instance runs sends messages to standard error and standard out. Server as well as application code write directly to these streams instead of using the logging mechanism. You can redirect the JVM output to all the registered log destinations, such as the server terminal console and log file.

Note: If you redirect JVM standard out and standard error messages to the WebLogic logging service, messages are redirected asynchronously. In the event of an overload situation, these messages may be dropped. In addition, redirecting messages in high volume can have a significantly negative impact on system performance and is therefore not recommended. As a best practice for capturing JVM messages, Oracle recommends using one of the supported logging APIs instead. For more information, see Redirecting JVM Output.

To redirect the JVM standard out or standard error messages:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane of the Console, expand Environment and select Servers
  3. In the Servers table, click the name of the server instance whose logging you want to configure.
  4. Select Logging > General, and click Advanced at the bottom of the page.
  5. Select either or both of the following check boxes, as desired:
    • Redirect stdout logging enabled
    • Redirect stderr logging enabled

    For more information, see Redirecting JVM Output.

  6. Click Save.
  7. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

Result

The JVM output will be written to the registered log destinations.

After you finish

Restart the server.


Back to Top