On 8/21/06, Joern Nettingsmeier <[EMAIL PROTECTED]> wrote:
can anyone explain how to do the following?:
* dump all log levels to the console when running tests? (i need this to
chase a problem with andreas' repository migration test)

FILE: build/lenya/webapp/WEB-INF/log4j.xconf
CHANGE:
   <appender name="COCOON_DEFAULT" class="org.apache.log4j.FileAppender">
TO:
   <appender name="COCOON_DEFAULT" class="org.apache.log4j.ConsoleAppender">
CHANGE:
     <priority value ="error" />
TO:
     <priority value ="info" />


* redirect specifig loggers to files
Maybe you can now figure it out from reading that file.  I am better
with log4j.properties, and a quick attempt at adding a file logger did
not work.  I could not decide if the category name should be a class
name or a logger name.  The example implies it is a class name, but
everything I know says it should be a logger name.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to