logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject More than one appender (pointing to different outputs) for a same package scope
Date Thu, 01 Mar 2007 17:41:57 GMT


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 name="lu.fortis">
	  	<level value="debug"></level>
	  	<appender-ref ref="mainAppenderDebug"/>

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

Thank u.

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.

View raw message