on 08-10-2011 8:10 PM
Hi Experts,
How can we debug the CLM Application.?
other point --> how can I print System.out.println in CLM log files.
Thanks
Iqbal
Hi,
Do you mean debuging via CLM - Beanshel scripting ?
If yes, here the code to add in your script :
//add library
import com.frictionless.api.common.log.*;
//Example : Display value of Status
logMsg = Logger.createLogMessage(session);
logMsg.setLogMessage("*** CLM DEBUGGING***" + doc.getStatus().toString());
Logger.info(logMsg);
if you ant to display any result, you have to updated content of logMsg.setLogMessage(??????)
Kind Regards,
Anacia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Iqbal,
I am not sure what you mean by debugging the CLM application.
To write an entry into the log file please have a look at the Logger and LogMessageIfc APIs. They are descriptive enough.
Thanks
Devesh
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.