Hi list,

I am using Log4j for my web apps. Now I would like to set up Tomcat's
Console Logger to use Log4j. I know I just can put the required classes on
system startup path (e.q. JAVA_HOME/jre/lib for libs or
JAVA_HOME/jre/classes for classes). Then just edit the
JAVA_HOME/jre/lib/logging.properties. This is all okay. But how can I
configure Log4j for a specific Layout pattern. Not setting the patern is
the problem. But where could I set this that already the first messages on
the console are coming with the specified pattern? Could it be done with a
servlet which is loaded at start up time or just what is the best way to
this?

Any hints are appreciated

Regards,

Christian Schuster

Rudolf Schuster AG
Postfach 277
CH - 3000 Bern 11

http://www.rsag.ch
++41 31 348 05 30


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

Reply via email to