logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Aguirre <ivn_agr...@yahoo.com.br>
Subject Where's the Tomcat log messages?
Date Thu, 29 Jul 2004 16:22:24 GMT
I'm using Tomcat 5.0.18 and I would like to customize the Log4J messages on the packages of
a Webapp.
Well, I created a file Log4J.XML and it's the Classpath. The file has been loading correctly
and the log messages from my Webapp classes are going fine.
The problem is that the messages from Tomcat, like one's on startup or when reloading a Context
don't happen anymore.
There's a copy of the file below.
Does anyone knows why ?
Ivan de Aguirre
Java Developer
CpQD - www.cpqd.com.br
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">

   <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
      <param name="target" value="System.err" />
      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%-5p [%c] %m%n" />
   <logger name="br.com.cpqd.www.sam" additivity="false">
      <level value="DEBUG" />
      <appender-ref ref="CONSOLE" />
      <priority value="WARN" />
      <appender-ref ref="CONSOLE" />

Yahoo! Mail agora ainda melhor: 100MB, anti-spam e antivírus grátis!
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message