logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Help on log4j:WARN No appenders could be found for logger
Date Fri, 21 Aug 2009 13:48:53 GMT

On Aug 21, 2009, at 7:02 AM, Francis ANDRE wrote:

> lHi
>
> I got this well known WARN from log4j but cannot find out what's the  
> problem is. Can someone help solving this issue??
>
> Here the trace for log4j and the initiator.log4j configuration file  
> joined.
>
> Thanks in advance.
>
>
> 	<!-- AcSAP -->
> 	<appender name='initiator.acsap.log'  
> class='org.apache.log4j.FileAppender'> 		<param name='File'  
> value='log/client.acsap.log'/> 		<param name='Append' value='true'/>  
> 		<layout class='org.apache.log4j.PatternLayout'> 			<param  
> name='ConversionPattern' value='%d{ISO8601}: %-9p %5c{1} -  %m\n'/>  
> 		</layout> 	</appender>
>

...
>
> 	<!-- AcSAP logger -->
> 	<category name='initiator.iso.itu.osi.acsap'  
> class='iso.itu.osi.acsap.AcSAPLogger'>
> 		<priority value ='trace' class='iso.itu.osi.sap.SAPLevel'/> 		 
> <appender-ref ref='initiator.acsap.log' /> 	</category>
>
>

You are specifying a distinct implementation class for each logger.   
That is very atypical.  Is that particular class really defined and  
available on the classpath?

Running with -Dlog4j-debug may produce more helpful diagnostics.



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