Re: Disabling INFO Logging Messages
Musomi Motilewa <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
Sean- Thanks for the information. I will try it right now and see what happens. I have a couple questions thought. What is openamf using to display the logging information seeing that I don't have log4j in my WEB-INF/lib folder? Is there any way to disable it or just have it log higher level notices without having to add log4j to the application just to change the log level? - Thanks Mo On Feb 17, 2005, at 12:48 AM, Sean C. Sullivan wrote: > > You need to download Log4j 1.2.9 > > Copy the Log4j jar file into WEB-INF/lib > > -Sean > > Musomi Motilewa wrote: > >> Sean- >> >> I'm using Tomcat 5.0.28 and the only logging jar I have in my >> WEB-INF/lib directory is commons-logging-1.0.4.jar. I thought that >> the commons logging included log4j classes in it. >> >> -Thanks Mo >> >> >> On Feb 16, 2005, at 3:59 PM, Sean C. Sullivan wrote: >> >>> >>> 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Ìk >>> _______________________________________________ >>> 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 >> _______________________________________________ >> 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Ìk > _______________________________________________ > 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