让weblogic打印jvm的详细日志

一、在weblogic console 里面设置jvm日志转发


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, like the server terminal console and log file.html

To redirect the JVM standard out messages:web

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).oracle

  2. In the left pane of the Console, expand Environment and select Serversapp

  3. In the Servers table, click the name of the server instance whose logging you want to configure.jvm

  4. Select Logging > General, and click Advanced at the bottom of the page.ui

  5. Select the Redirect Stdout Logging Enabled check box.spa

    For more information, see Redirecting JVM Output.rest

  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).code

Result

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

After you finish

Restart the server.

相关文章
相关标签/搜索