Wednesday, October 7, 2009

Weblogic: Redirecting Console Output to log file

You can redirect wls console output log file, by setting environment variable WLS_REDIRECT_LOG.

For example in Linux before running startWebLogic.sh simply set environment variable like

setenv WLS_REDIRECT_LOG $HOME/WLSLOG.log

Now start web logic server

Before you do this, create a file in home directory as WLSLOG.log and chmod 777 for it.

No comments:

Post a Comment