Log4j

Hello,
I have an other question about this time Log4J.
I try to configure the properties file in the zip of log4j inside the libraries folder, but it’s seems than nothing happen.
Someone could tell me how to configure it, for example to show only errors ?

I try some tutorial for log4j but nothing seems to work properly with clover.

Thanks in advance.

Check out the log4j.properties file in the cloveretl.engine.jar, which is part of a clover binary distribution.

Thank you, I was looking for the file properties inside the log4j.zip and this is why it doesn’t work.

thank you very much mzatopek

I have trouble with log4j, it seems that the log4j.properties is not using by clover.
I modificate it like that :


log4j.rootLogger=INFO,LOG

log4j.appender.LOG=org.apache.log4j.RollingFileAppender
log4j.appender.LOG.File=data/log/log.txt

log4j.appender.LOG.layout=org.apache.log4j.PatternLayout
log4j.appender.LOG.layout.ConversionPattern=%d{dd-MM@HH:mm} - %m%n

Is anyone have any ideas ?

thanks in advance.