Hi, I'm logging something like that : <conversionPattern value="%date %identity %-5level %logger : %message%newline" />
I want to filter by identity, then I tried to use the PropertyFilter : <filter type="log4net.Filter.PropertyFilter"> <key value="Identity" /> <stringToMatch value="domain\username" /> </filter> This doesn't seem to work. I also tried with "log4net:identity" for the key value but no success. Then I tried with the StringMatchFilter : <filter type="log4net.Filter.StringMatchFilter"> <stringToMatch value="domain\username" /> </filter> This doesn't work too. It seems it only looks for the value on the message text. Any idea ? Thanks ! Note that I don't want to use any custom log4net code as I'm using Common.Logging. Cheers, Bruno Baia
