Dear all
I have one question about NDC element and Filter rules.
Is it possible to make a StringFilter for a NDC value ?
Example:
Following filter rule for a file appender
<filter class="org.apache.log4j.varia.StringMatchFilter">
<param name="StringToMatch" value="1234"/>
<param name="AcceptOnMatch" value="true"/>
</filter>
And
NDC.push ("User:" +1234);
Does log4j write only the statements in the log file with this String.
May be it is stupid question but I tried and it was not working correct.
Unfortunately I have not so much information about NDC functionality and
XML rules.
The manual book needs long time to deliver ;-(
So If anybody can give me some tips it would be great.
Kind Regards
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]