# Using Graylog from log4net in NetCore

**URL:** <https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932>\
**Category:** Graylog Add-ons\
**Created:** [July 10, 2018, 9:21pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932 "2018-07-10T21:21:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yamilbracho](https://avatars.discourse-cdn.com/v4/letter/y/90db22/32.png) [@yamilbracho](https://community.graylog.org/u/yamilbracho)\
**Post date:** [July 10, 2018, 9:21pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/1 "2018-07-10T21:21:56Z")

</div>

Hi  
I wnat to use Graylog from log4net in a NetCore project. It works fine with Net Framework but does not register log entries from .NEtCore (No errors, warnings or notifications)

Also I try to send some information from Postman and always got “Could not get any response”

Any hint for solve this problem…

Regards,  
Yamil

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [July 11, 2018, 5:34am UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/2 "2018-07-11T05:34:49Z")

</div>

Could you please elaborate what you want to do, what you have done and what the problems are you are facing?

---

<div class="post-metadata">

**Author:** ![yamilbracho](https://avatars.discourse-cdn.com/v4/letter/y/90db22/32.png) [@yamilbracho](https://community.graylog.org/u/yamilbracho)\
**Post date:** [July 12, 2018, 2:49pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/3 "2018-07-12T14:49:23Z")

</div>

Hi  
I have the same loggin strategy for two apps, one with .NEt Framework and other with .NEtCore.  
With .Net Frameworls works fine but with .NEt Core nothing is sent to GrayLog.  
Is there any way to send an http entry to GrayLog ?

Regards,  
Yamil

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [July 12, 2018, 2:50pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/4 "2018-07-12T14:50:26Z")

</div>

Which GELF logging appender are you using?  
What’s the configuration of the GELF logging appender?

---

<div class="post-metadata">

**Author:** ![yamilbracho](https://avatars.discourse-cdn.com/v4/letter/y/90db22/32.png) [@yamilbracho](https://community.graylog.org/u/yamilbracho)\
**Post date:** [July 12, 2018, 3:09pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/5 "2018-07-12T15:09:46Z")

</div>

I am using NLog with NLog.Targets.GraylogHttp(  
[https://marketplace.graylog.org/addons/d357b17b-5811-46b3-a22e-13042c84543a](https://marketplace.graylog.org/addons/d357b17b-5811-46b3-a22e-13042c84543a))

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [July 12, 2018, 3:20pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/6 "2018-07-12T15:20:01Z")

</div>

Try creating a bug report at [https://github.com/dustinchilson/NLog.Targets.GraylogHttp/issues](https://github.com/dustinchilson/NLog.Targets.GraylogHttp/issues).

---

<div class="post-metadata">

**Author:** ![yamilbracho](https://avatars.discourse-cdn.com/v4/letter/y/90db22/32.png) [@yamilbracho](https://community.graylog.org/u/yamilbracho)\
**Post date:** [July 12, 2018, 3:42pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/7 "2018-07-12T15:42:57Z")

</div>

I already did 🙂

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [July 12, 2018, 3:52pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/8 "2018-07-12T15:52:00Z")

</div>

> [@yamilbracho](#):
>
> I already did 🙂

Then why don’t you link the existing issue here?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [July 26, 2018, 3:52pm UTC](https://community.graylog.org/t/using-graylog-from-log4net-in-netcore/5932/9 "2018-07-26T15:52:02Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
