logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bender Heri" <HBen...@Ergonomics.ch>
Subject RE: Log4J Help requested
Date Wed, 06 Jul 2005 14:52:16 GMT
Your property file is maybe not in the classpath? Or has not the default name?

> -----Original Message-----
> From: Balaji Saranathan [mailto:balaji.saranathan@wipro.com]
> Sent: Wednesday, July 06, 2005 4:46 PM
> To: log4j-user@logging.apache.org
> Subject: Log4J Help requested
> 
> 
> 
> Hi,
> 
> I'm new to log4j and I configured my web application to use a
> RollingFileAppender with these statements in the property file
> 
> log4j.rootLogger=debug,framework
> log4j.appender.framework=org.apache.log4j.RollingFileAppender
> log4j.appender.framework.layout=org.apache.log4j.HTMLLayout
> log4j.appender.framework.File=framework.log
> log4j.appender.framework.MaxBackupIndex=2
> 
> However, when I create a logger and try to print the Appenders
> associated to it, I get an empty enumeration. Needless to say, my log
> messages are not printed anywhere? 
> 
> Can you tell me where I'm wrong?
> 
> Thanks
> Bala
> 
> 
> 
> 
> 
> 
> Confidentiality Notice 
> 
> The information contained in this electronic message and any 
> attachments to this message are intended
> for the exclusive use of the addressee(s) and may contain 
> confidential or privileged information. If
> you are not the intended recipient, please notify the sender 
> at Wipro or Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
> 

---------------------------------------------------------------------
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