logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Wolff" <awo...@concepto.com.uy>
Subject how to configure a "deny stringmatch filter"
Date Sun, 20 Jul 2008 04:55:55 GMT
the following filter:

<filter type="log4net.Filter.StringMatchFilter">
    <stringToMatch value="database" />

Look for the substring 'database' in the message text of the event, in the
case that text is found the filter is ACCEPTED and the message is logged. OK

I want to configure a filter that DENY the substring 'database' (don't log
the message)

how can I configure that?

thanks in advance,
Alexander Wolff

View raw message