commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hufgard <christian.hufg...@gmx.de>
Subject Re[2]: turning on debugging with commons logging
Date Wed, 14 Jun 2006 14:35:56 GMT
Hi Folks,

> I don't use Apache Struts, but I think copying the
> log4j.properties to WEB-INF should be OK.

Put it into WEB-INF/classes, then it should be found.

> log4j.appender.FILE.File=output.log

This whould create a file named output.log relativly to the directory
from where you started your webserver. It might be better to use a fix
location like /logs/output.log or write to logs/output.log, which
might be a symlink to a apropriate logging directory.

Hope this helps.

Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message