on 09-18-2013 4:09 PM
Hello Experts,
I am triying to find out an error we are having with the Workflow Scripting. I wanted to check the Logs to see what is the error, the Question is, where the logs are or how do I Activate them to see this errors?
Thank you very much for your Answers.
Best Regards.
Hi Seabastian,
You can activate logs using the following script.
CLASS_NAME = "Script Name";
boolean isLogActivated = true;
LogMessageIfc printLog = (LogMessageIfc)Logger.createLogMessage(session);
printLog (msg)
{
if(isLogActivated)
{
printLog .setLogMessage(printLog );
Logger.info(printLog );
}
}
printLog .setMethod(CLASS_NAME);
printLog ("START");
This is one of the way to get logs activated.
Answer for where to see logs , you can find it in this discussion http://scn.sap.com/thread/2039723.
Hope this answers your question.
Regards,
Kumud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sebastin,
You can view the logs in the netweaver logs (NWA logs ) which should be provided by your basis team and the format for the link should be in the below format.
.https://Sourcing servername:portname /nwa/logs
The logs also get saved on the System Adminstration tab under alert logs.
Hope this helps.
Regards,
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.