# Log4net stops passing through to logstash

**URL:** <https://discuss.elastic.co/t/log4net-stops-passing-through-to-logstash/119518>\
**Category:** Logstash\
**Created:** [February 12, 2018, 5:12pm UTC](https://discuss.elastic.co/t/log4net-stops-passing-through-to-logstash/119518 "2018-02-12T17:12:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter1992](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@peter1992](https://discuss.elastic.co/u/peter1992)\
**Post date:** [February 12, 2018, 5:12pm UTC](https://discuss.elastic.co/t/log4net-stops-passing-through-to-logstash/119518/1 "2018-02-12T17:12:31Z")

</div>

We are experiencing a problem where logstash stops collecting data from log4net but there are no errors to indicate why. Has anyone seen this before?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 13, 2018, 9:19pm UTC](https://discuss.elastic.co/t/log4net-stops-passing-through-to-logstash/119518/2 "2018-02-13T21:19:44Z")

</div>

It's impossible to help without details of the setup.

---

<div class="post-metadata">

**Author:** ![peter1992](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@peter1992](https://discuss.elastic.co/u/peter1992)\
**Post date:** [February 19, 2018, 12:04pm UTC](https://discuss.elastic.co/t/log4net-stops-passing-through-to-logstash/119518/3 "2018-02-19T12:04:51Z")

</div>

It looks like the data we are passing that is causing it to stop collecting data. There isn't any logs to identify the data that caused it to stop

---

<div class="post-metadata">

**Author:** ![peter1992](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@peter1992](https://discuss.elastic.co/u/peter1992)\
**Post date:** [February 21, 2018, 5:05pm UTC](https://discuss.elastic.co/t/log4net-stops-passing-through-to-logstash/119518/4 "2018-02-21T17:05:35Z")

</div>

Apologies the problem doesn't appear to be what I thought it was.

Our setup:  
6 Web servers all pushing log4net logs via UDP to logstash on a separate server running V6.0 ( I am looking to upgrade to V6.2) with 5 or 6 web servers we get 1.25ish hours of log collection before logstash needs to be rebooted. (No logs in the logstash log file to indicate why the stop) Reducing the servers to 4 web servers the logstash appears to be more stable and lasts longer. The Server performance is ok CPU runs less than 50% and Memory is around 55%.

We get around 1000 documents a minute

Has anyone experienced this type of problem before.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 21, 2018, 5:05pm UTC](https://discuss.elastic.co/t/log4net-stops-passing-through-to-logstash/119518/5 "2018-03-21T17:05:40Z")

</div>

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