cancel
Showing results for 
Search instead for 
Did you mean: 

debug the CLM Application ?

Former Member
0 Kudos

Hi Experts,

How can we debug the CLM Application.?

other point --> how can I print System.out.println in CLM log files.

Thanks

Iqbal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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