Use the Waveset debug pages to set trace options on the following classes/packages:
com.waveset.adapter.ScriptedJdbcResourceAdapter
com.waveset.adapter.JdbcResourceAdapter
com.waveset.adapter.script
A com.sun.idm.logging.trace.Trace object is always passed in the action context passed to the scripts.
Enable trace on com.waveset.adapter.ScriptedJdbcResourceAdapter to enable tracing in the scripts.
Additionally, you can use the following scripts to perform tracing or writing output.
With Beanshell, the following statement enables line tracing:
this.interpreter.TRACE=true;
With BeanShell, the following, Java-style statement writes a string to stdout:
java.lang.System.out.println(“Hello World”);
With JavaScript, the following, Java-style statement writes a string to stdout:
Packages.java.lang.System.out.println(“Hello World”);
If Active Sync is being performed, then you can set the following Waveset Active Sync logging parameters for the resource instance:
Maximum Log Archives
Maximum Active Log Age
Maximum Log File Size
Log File Path
Log Level