I've just started using log4net and have some issues with filtering using strings.
I'm trying to remove EPiServer specific logging in my log4net log file as I am not interested in it.
I have the following log4net configuration for an appender:
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="DEBUG" />
</filter>
<filter type="log4net.Filter.StringMatchFilter">
<stringToMatch value="EPiServer" />
<acceptOnMatch value="false" />
</filter>
<filter type="log4net.Filter.DenyAllFilter" />
I only have one root logger. This config does not stop the EPiServer logging.
What am I doing wrong?