logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DECAFFMEYER MATHIEU" <MATHIEU.DECAFFMA...@fortis.lu>
Subject More than one appender (pointing to different outputs) for a same package scope
Date Thu, 01 Mar 2007 17:41:57 GMT

Hi,

Is something like this allowed ?
More than one appender (pointing to different outputs) for two loggers
pointing to same scope :

	  <logger name="lu.fortis">
	  	<level value="info"></level>
	  	<appender-ref ref="mainAppenderInfo"/>
	  </logger>
	  <logger name="lu.fortis">
	  	<level value="debug"></level>
	  	<appender-ref ref="mainAppenderDebug"/>
	  </logger>

In one file I want everything from the info level,
in another everything from the debug level


Thank u.
__________________________________
   Matt



============================================
Internet communications are not secure and therefore Fortis Banque Luxembourg S.A. does not
accept legal responsibility for the contents of this message. The information contained in
this e-mail is confidential and may be legally privileged. It is intended solely for the addressee.
If you are not the intended recipient, any disclosure, copying, distribution or any action
taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Nothing
in the message is capable or intended to create any legally binding obligations on either
party and it is not intended to provide legal advice.
============================================


Mime
View raw message