logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morris, Rick" <rick.mor...@brightpoint.com>
Subject RE: Again Could not initialize Log4j
Date Tue, 10 Dec 2002 11:33:48 GMT
log4j can't find your properties file. You might want to check out the
section of the manual where it explains how to initialize log4j using a
servlet.

-----Original Message-----
From: Rajib Das [mailto:rajibd@anshinsoft.com]
Sent: Tuesday, December 10, 2002 12:40 AM
To: 'Log4J Users List'
Subject: Again Could not initialize Log4j 


Hi,

I would like to add ..however the application is getting the logger by
name SERVICES ...see below ..

Regards

Rajib

-----Original Message-----
From: Rajib Das [mailto:rajibd@anshinsoft.com] 
Sent: Tuesday, December 10, 2002 10:00 AM
To: log4j-user@jakarta.apache.org
Subject: Urgent : Could not initialize Log4j 

Hi,

 

I'm using version 1.2.7. While running the application I'm getting this
message ..

 

log4j:WARN No appenders could be found for logger (SERVICES).

log4j:WARN Please initialize the log4j system properly.

 

 

 

My Config file 

 

 

# THE ROOT LOGGER

log4j.rootLogger=DEBUG, NULL

#Define own logger

log4j.logger.SERVICES=INHERIRED, A2

 

# Define the appender

log4j.appender.A2=org.apache.log4j.RollingFileAppender

log4j.appender.A2.MaxFileSize=10MB

log4j.appender.A2.MaxBackupIndex=1

log4j.appender.A2.layout=org.apache.log4j.TTCCLayout

log4j.appender.A2.layout.ContextPrinting=enabled

log4j.appender.A2.layout.DateFormat=ISO8601

 

log4j.additivity.SERVICES=false

 

 

Can anybody please tell me what is the problem?

 

Thanking in advance

 

Regards

Rajib



--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message