debugging in Denormalizer

Discussion on developing CloverETL engine, transformation components etc.

stephen.hlx
Posts: 1
Joined: Wed Mar 20, 2013 6:19 am

debugging in Denormalizer

Postby stephen.hlx » Wed Mar 20, 2013 6:26 am

Dear all,

I am using Denormalizer component in a graph.
But a NPException is being thrown and I am looking into the problem by sending some message to the console.
However, none of the approaches I tried worked.
Logger("InfoLogger")
System.out.println()
System.err.println()

It seems only messages from [WatchDog] can be shown in the console.

May I know what is the common way of writing to console?
Or should I have sent the message to WatchDog, if so, how?

Integrator Version: 2.4.0 r687439

Thanks a lot!

Stephen

kubosj
Posts: 372
Joined: Thu Jan 12, 2012 9:10 am

Re: debugging in Denormalizer

Postby kubosj » Wed Mar 20, 2013 8:52 am

Hi Stephen,

inside of CloverETL transform you can use something like:

Code: Select all

getGraph().getLogger().debug("wow");
getGraph().getLogger().warn("wow");
getGraph().getLogger().info("wow");
getGraph().getLogger().error("wow");


By default info, error and warning should be displayed in run log.
Jaroslav Kubos
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at http://www.cloveretl.com


cron