This content has been marked as final. Show 3 replies
You can redirect the output of WLST to outfile.
To start and stop redirecting WLST output to a file, enter:
You must specify the pathname of the file to which you want to redirect WLST output. You can also optionally specify whether you want WLST output to be sent to stdout; the toStdOut argument defaults to true.
For example, to redirect WLST output to the logs/wlst.log file in the current directory and disable output from being sent to stdout, enter the following command:
wls:/mydomain/serverConfig> redirect('./logs/wlst.log', 'false')
Thanks & Regards,
For some reason I do not see the listWebServices output redirected to file, only wlst header shows up
Here is the excerpt of the py file and out file
adminUser = "faadmin"
adminPassword = "Fusionfa1CaDev"
=========== vi wlst.log=================
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)
WLST output will no longer be redirected to ./wlst.log.
Am I missing something here ?
Edited by: user536927 on Jan 3, 2013 11:16 AM