How to log execution of a graph in a log file

Hi,

I would like to log execution of a graph in a log file.
I run my graph with a class.

Now I would like to log the number of records added or removed in the target table for example.

How can I do ?

Thanks a lot for your answer.

Hello,
all logging messages are sent through log4j interface, which is pretty nice configurable. The cloveretl.engine.jar contains default configuration file log4j.properties. Which can be easily substituted via -logcfg command line argument. In the configuration file you can specify whole list of so called ‘logging appenders’, which specifies destinations for logging messages (ConsoleAppender is default). The log4j is really powerful tool with sophistic filtering and so on. More infomation can be found at http://logging.apache.org/log4j/1.2/index.html