try this:

<filter type="log4net.Filter.StringMatchFilter">
 <param name="AcceptOnMatch" value="false" />
<param name="StringToMatch" value="text2match" />
</filter>


On 6/21/06, Craig Boland <[EMAIL PROTECTED]> wrote:

I see that the StringMatchFilter logs messages that match StringToMatch or
RegexToMatch properties, but is there a way to NOT log messages that match?
Something like a DenyStringMatchFilter, perhaps?

The rule would be something like this: Log all messages _except_ those that
match the filter.

Reply via email to