pradeep kumar

pradeep kumar

  • NA
  • 94
  • 67k

log4net Hierarchy

Apr 8 2014 3:03 AM
I have some mis-understanding of concepts in log4net. Actually i went through this link
 
http://logging.apache.org/log4net/release/manual/introduction.html[^]
 
They have given some Logger hierarchy some body explain me where exists this hierarchy,inheritance in my below config code pls..!!
 
below is my web.config code ::
 
<log4net threshold="OFF">
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="C:Pradeep\Log" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<datePattern value="yyyyMMdd'.log'" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="10MB" />
<staticLogFileName value="false" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger - %message%newline" />
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="ERROR" />
<levelMax value="FATAL" />
</filter>
</appender>
</log4net>

Answers (2)