# Change Hangfire log level with log4net

**URL:** https://discuss.hangfire.io/t/change-hangfire-log-level-with-log4net/2528
**Category:** question
**Tags:** logging, log4net
**Created:** [October 12, 2016, 7:29am UTC](https://discuss.hangfire.io/t/change-hangfire-log-level-with-log4net/2528 "2016-10-12T07:29:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mortenholmgaard](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@mortenholmgaard](https://discuss.hangfire.io/u/mortenholmgaard)
#### Post date: [October 12, 2016, 7:29am UTC](https://discuss.hangfire.io/t/change-hangfire-log-level-with-log4net/2528/1 "2016-10-12T07:29:33Z")

</div>

I can’t find any way to limit the amount of logs Hangfire sends to our logs with log4net logger.

Is there any way to set, that you only want logs of Warn+ level to be logged?

---

<div class="post-metadata">

### Author: ![dmbritos](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@dmbritos](https://discuss.hangfire.io/u/dmbritos)
#### Post date: [August 7, 2017, 6:43pm UTC](https://discuss.hangfire.io/t/change-hangfire-log-level-with-log4net/2528/2 "2017-08-07T18:43:05Z")

</div>

Check this thread:

[http://hangfire.discourse.group/t/log4net-logging/1280](http://hangfire.discourse.group/t/log4net-logging/1280)
