Developer Partner Community

  • March 8, 2013

Redirecting JVM Output

Juergen Kress
PaaS Partner Adoption

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. Through a configuration option, you can redirect the JVM output to all the registered log destinations, like the server terminal console and log file. When enabled, a log entry appears as a message of NOTICE severity. Redirecting the JVM output does not capture output from native code, for example thread dumps from the JVM.
For example, to redirect the JVM standard out messages:

  • When you start the Administration Server, include the following Java option in the weblogic.Server command:


See "weblogic.Server Configuration Options" in Command Reference for Oracle WebLogic Server.

  • After the Administration Server has started, use the Administration Console to redirect the JVM standard out messages. See "Redirect JVM output" in the Oracle WebLogic Server Administration Console Online Help.
  • Use the WLST to change the value of the RedirectStdoutToServerLogEnabled property of the LogMBean and re-start the server.

The WLST commands in Example 3-6 redirect the JVM standard out messages in the Administration Server to the server logging destinations. Read the full documentation here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.


Join the discussion

Comments ( 1 )
  • guest Tuesday, April 9, 2013

    Your (NEW JV7u17) will not load properly. And seeing how you all didn't
    add a JV uninstaller fore the 32Java software in ( ALL MOST )the North American Computers, here in America., I have to do the removing my self.
    So much for Java Brainy - yaks.

    Any how before I go it a lone, I thought to drop in and see if there was a cure on your home page., I (SEE) your brainy yaks made it a point to pull the one cure all {Java. Sun.com/products/archive/j2e/6u7/index. html}on your Java Home down load page.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.