> From: Stephane Nicoll [mailto:[EMAIL PROTECTED]
>
> I am interested in
>
> 1/ Is it possible to log stuff with level INFO in one file
> and exactly the
> same plus DEBUG messages in another file?
As far as I know you have to use a filter to get this, and this means, you'll
need an xml config file. But that's pretty easy. Quick sketch to start with:
<appender name="debug" class="whatever">
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMax" value="DEBUG" />
</filter>
some layout
</appender>
<appender name="everythingelse" class="whatever2">
</appender>
<root>
<priority value="debug"/>
<appender-ref ref="debug"/>
<appender-ref ref="everythingelse"/>
</root>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]