# Log4Net setting up log degree

How do I make Log4net just log Info degree logs? Is that also feasible? Can you just set a limit?

This is what I have, and also it logs Info and also over as I would certainly anticipate. Exists anything i can do to make it just log details?

<logger name="BrokerCollection.Model.XmlDocumentCreationTask">
<appender-ref ref="SubmissionAppender"/>
<level value="Info" />
</logger>

0
2019-05-18 21:26:32
Source Share

Within the definition of the appender, I think you can do something similar to this:

<appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender">
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO"/>
<param name="LevelMax" value="INFO"/>
</filter>
...
</appender>

0
2019-05-30 04:38:05
Source