Redirect wlst output to file

Oracle Weblogic Server

To redirect WLST output to file containing information, error, and debug messages from standard out to a file, enter:

redirect(outputFile,[toStdOut])
stopRedirect()

This command also redirects the output of the dumpStack() and dumpVariables() commands.

For example, to redirect WLST output to file logs/wlst.log file under the directory from which you started WLST, enter the following command:

wls:/mydomain/serverConfig> redirect('./logs/wlst.log')

 

For more help please check below link:

http://docs.oracle.com/cd/E15051_01/wls/docs103/config_scripting/using_WLST.html#wp1094015

 

In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

1 Response

  1. date cafe says:

    Hello there, You have done an excellent job.
    I will definitely digg it and personally suggest to my friends.
    I am sure they will be benefited from this site.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.