Yep - I've packaged my app as you would expect - log4j.properties in WEB-INF/classes and all my jars in WEB-INF/lib.
Oh well, it's not a big deal - I just thought someone might know. --- In [EMAIL PROTECTED], Robert <[EMAIL PROTECTED]> wrote: > > Then it must go in your WEB-INF/classes, which would be in your > classpath, as far as log4j goes (assuming your log4j.jar is in your > WEB-INF/lib) :-) > > > Matt Raible wrote: > > >I'm not using a classpath - just jar files in WEB-INF/lib > > > >--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: > > > > > >> > >>It's also possible that some other third-party jar you've added to your > >>environment has a log4j.properties in it as well. > >> > >>If log4j finds another .properties file prior to finding the one you > >> > >> > >want, > > > > > >>you get this type of error. JBoss, for example, has its own log4j config > >>that may clash with yours if you have it on your classpath. > >> > >>Try moving the jar file with your log4j.properties file to the front of > >>your classpath... > >> > >>Kevin > >> > >> > >>http://www.strutskickstart.com > >> > >> > >> > >> > >> > >>Robert <[EMAIL PROTECTED]> on 11/11/2002 04:57:48 PM > >> > >>Please respond to "Struts Users Mailing List" > >> <[EMAIL PROTECTED]> > >> > >>To: Struts Users Mailing List <[EMAIL PROTECTED]> > >>cc: (bcc: Kevin Bedell/Systems/USHO/SunLife) > >>Subject: Re: [OFF TOPIC] Digester and Log4J > >> > >> > >>It looks like you don't have your log4j.properties file in your > >>classpath, and thus it can't initialize. > >> > >>Matt Raible wrote: > >> > >> > >> > >>>I've recently started getting the following warning when my > >>> > >>> > >struts-based > > > > > >>>webapp starts: > >>> > >>>log4j:WARN No appenders could be found for logger > >>>(org.apache.commons.digester.Digester). > >>>log4j:WARN Please initialize the log4j system properly. > >>> > >>>Any ideas? > >>> > >>>I have log4j.category.org.apache.commons=ERROR in my log4j.properties > >>>file. > >>> > >>> > >>> > >>> > >>>-- > >>>To unsubscribe, e-mail: < > >>> > >>> > >>mailto:struts-user-unsubscribe@;j...> > >> > >> > >>>For additional commands, e-mail: < > >>> > >>> > >>mailto:struts-user-help@;j...> > >> > >> > >>> > >>> > >>> > >>> > >>> > >> > >>-- > >>To unsubscribe, e-mail: < > >>mailto:struts-user-unsubscribe@;j...> > >>For additional commands, e-mail: < > >>mailto:struts-user-help@;j...> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >------------------------------------------------------------------ --------- > > > > > >>This e-mail message (including attachments, if any) is intended for > >> > >> > >the use > > > > > >>of the individual or entity to which it is addressed and may contain > >>information that is privileged, proprietary , confidential and > >> > >> > >exempt from > > > > > >>disclosure. If you are not the intended recipient, you are notified > >> > >> > >that > > > > > >>any dissemination, distribution or copying of this communication is > >>strictly prohibited. If you have received this communication in error, > >>please notify the sender and erase this e-mail message immediately. > >> > >> > >> > >------------------------------------------------------------------ --------- > > > > > >> > >>-- > >>To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;j...> > >>For additional commands, e-mail: <mailto:struts-user-help@;j...> > >> > >> > > > > > >-- > >To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;j...> > >For additional commands, e-mail: <mailto:struts-user-help@;j...> > > > > > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;j...> > For additional commands, e-mail: <mailto:struts-user-help@;j...> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>