In Log4Net XML configuration is Priority the same thing as Level?
- by Michael Levy
I inherited some code that uses the priority element under the root in its xml configuraiton. This is just like the example at http://iserialized.com/log4net-for-noobs/ which shows:
<root>
<priority value="ALL" />
<appender-ref ref="LogFileAppender" />
<appender-ref ref="ConsoleAppender"/>
</root>
However, the log4net configuration examples at http://logging.apache.org/log4net/release/manual/configuration.html always show it using the level element:
<root>
<level value="DEBUG" />
<appender-ref ref="A1" />
</root>
In this type of configuration is
<priority>
the same as
<level>
?
Can someone point me to somewhere in the docs where this is explained?