RE: Disabling INFO Logging Messages
"Sean C. Sullivan" <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
1) Which application server are you using? 2) Did you copy the Log4j JAR file into WEB-INF/lib? -Sean >-- Original Message -- >To: [email protected] >From: Musomi Motilewa <[email protected]> >Subject: [Openamf-user] Disabling INFO Logging Messages >Reply-To: [email protected] >Date: Wed, 16 Feb 2005 13:35:20 -0500 > > >Hi > >Is there anyway to disable the INFO logging messages? I've tried >placing both log4j.properties and log4j.xml files in the >WEB-INF/classes folder of my application. I also have >commons-logging-1.0.4.jar in my WEB-INF/lib directory. Here is the >contents of both files. > >---------- log4j.properties ---------- >log4j.rootLogger=ERROR, A1 > >log4j.appender.A1=org.apache.log4j.ConsoleAppender >log4j.appender.A1.layout=org.apache.log4j.SimpleLayout > >log4j.logger.org.apache=ERROR >---------------------------------------- > >---------- log4j.xml ---------- ><?xml version="1.0" encoding="UTF-8" ?> ><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> > ><log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> > > <appender name="A2" > class="org.apache.log4j.ConsoleAppender"> > <layout class="org.apache.log4j.SimpleLayout"/> > </appender> > > <root> > <priority value="ERROR" /> > <appender-ref ref="A2"/> > </root> > ></log4j:configuration> >---------------------------------------- > >Thanks. > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Openamf-user mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/openamf-user ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click