A have tried to use an ExecuteScript with the following code on a LC ES 2.5 Weblogic Windows 2003 installation:
Logger myLog = Logger.getLogger("com.myname.logger");
myLog.error("Error in my central server log");
However I cannot find this in any of the logs.
If I use the same approach on an JBOSS installation this would end up in the server.log file, however I am not sure which log file it actuially should be in?
Can you help me?
Thanks in advance
Found the answer myself 🙂
To do this, you must setup your Weblogic server to redirect stdout to the server log. This is done in the adminserver console under Server - Logging - Advanced - "Redirect stdout to server log".
Hope this helps somebody out there
Have a good one all of you