logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Stauffer <stauffer.ja...@gmail.com>
Subject Re: [webdoclet] log4j:ERROR
Date Tue, 31 May 2005 13:26:05 GMT
If you add "-Dlog4j.debug" to the command line it will tell you which
file it is using for configuration and might give you more info about
the error.

On 5/31/05, Ben <newreaders@gmail.com> wrote:
> You mean the log4j.properties file? Here it is, I have this file in my
> /WEB-INF/classes/ folder:
> 
> ---------------
> log4j.rootCategory=INFO, stdout
> 
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> log4j.appender.stdout.layout.ConversionPattern=[@APPNAME@] %p [%t]
> %C{1}.%M(%L) | %m%n
> 
> log4j.appender.R=org.apache.log4j.RollingFileAppender
> log4j.appender.R.File=example.log
> log4j.appender.R.MaxFileSize=100KB
> log4j.appender.R.MaxBackupIndex=0
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
> 
> log4j.logger.com.example=DEBUG
> 
> log4j.logger.com.opensymphony.oscache=ERROR
> log4j.logger.org.apache.commons=ERROR
> log4j.logger.org.apache.struts=WARN
> log4j.logger.org.springframework=WARN
> 
> log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=WARN
> log4j.logger.net.sf.hibernate=WARN
> ---------------
> 
> I don't know which properties file Eclipse uses.
> 
> I also tried to delete my properties file and I still see those errors
> (in Eclipse and when Tomcat starts).
> 
> 
> Thanks,
> Ben
> 
> 
> 
> On 5/31/05, James Stauffer <stauffer.james@gmail.com> wrote:
> > Posting your log4j configuration file may be helpful.
> >
> > On 5/31/05, Ben <newreaders@gmail.com> wrote:
> > > Hi
> > >
> > > Could someone please tell me why I get the following error when I
> > > generate the web deployment descriptor:
> > ...
> >
> > --
> > James Stauffer
> > Are you good? Take the test at http://www.livingwaters.com/good/
> >
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message