You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Rajib Das <ra...@anshinsoft.com> on 2002/12/10 06:39:38 UTC

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>