You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Christian Hufgard <ch...@gmx.de> on 2006/06/14 16:35:56 UTC

Re[2]: turning on debugging with commons logging

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