Using Logger Filter with Not Equal condition Log4net
- by Mubashar Ahmad
Dears
I am using log4net in my c# application i have different logger which insert text lines in my single log file.
But now i wanted to add a new logger which should not post log entries in the same file rather i should log in a different file so i configured a new fileAppender, After doing whatever i found on the net i am able to create a different file for my new logger but it echoes the same value in first log file too.
so please if anybody knows about the use of LogFilters so that i could add "Logger < New logger " match in previously configured appender.
Regards
Mubashar