As there are following levels in log4net
- ALL
- DEBUG
- INFO
- WARN
- ERROR
- FATAL
- OFF
Can anyone please tell me in log4net how can I log only INFO & ERROR or DEBUG & ERROR? What I mean here is be able to log two different levels which are not in sequence?
I can't do if I use following because warning messages will be logged as well which I don't want:
<filter type="log4net.Filter.LevelRangeFilter">
<acceptOnMatch value="true" />
<levelMin value="INFO" />
<levelMax value="ERROR" />
</filter>