Hi,
I have an appender that has 1 PropertyFilter like so:
<filter type="log4net.Filter.PropertyFilter">
<key value="ID" />
<stringToMatch value="87e18d7e477349ef9713e19c40ea393a" />
<acceptOnMatch value="true" />
</filter>
<filter type="log4net.Filter.DenyAllFilter" />
In code I am using ILogger like so:
log4net.Core.LoggingEvent ev = new log4net.Core.LoggingEvent(...);
ev.Properties["ID"] = "87e18d7e477349ef9713e19c40ea393a";
If I remove that filter the log is written alright. All other filters I have
tested are working correct. If I run debug mode I can see log4net
discovering the propertyFilter correct. But it never kicks in. Where is my
error?
--
Werner
--
View this message in context:
http://old.nabble.com/Cannot-get-PropertyFilter-to-work-tp28459133p28459133.html
Sent from the Log4net - Users mailing list archive at Nabble.com.