# Logs can not stream properly after logstash service restart

**URL:** <https://discuss.elastic.co/t/logs-can-not-stream-properly-after-logstash-service-restart/122642>\
**Category:** Logstash\
**Created:** [March 6, 2018, 6:30am UTC](https://discuss.elastic.co/t/logs-can-not-stream-properly-after-logstash-service-restart/122642 "2018-03-06T06:30:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shwesinhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shwesinhan/32/78663_2.png) [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)\
**Post date:** [March 6, 2018, 6:30am UTC](https://discuss.elastic.co/t/logs-can-not-stream-properly-after-logstash-service-restart/122642/1 "2018-03-06T06:30:57Z")

</div>

hi there

I run logstash as a service in window server.  
I use tcp input, grok filter, amazon\_es output in my logstash config.  
I stream .net application logs using Log4netSocketAppender to logstash host.

strange thing is that restart logstash service then... no more logs come to logstash.

then i copy and replace Log4netSocketAppender.dll in app.

very strange, logs come back to logstash

I try like 3 times, it's same 😃

`may i know why Log4netSocketAppender.dll doesn't work whenever logstash service restart??????`

i m running logstash v6.1.1.

---

<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:** [March 6, 2018, 7:00am UTC](https://discuss.elastic.co/t/logs-can-not-stream-properly-after-logstash-service-restart/122642/2 "2018-03-06T07:00:48Z")

</div>

This sounds like a problem on the sending side, i.e. not a Logstash problem.

---

<div class="post-metadata">

**Author:** ![shwesinhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shwesinhan/32/78663_2.png) [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)\
**Post date:** [March 6, 2018, 7:06am UTC](https://discuss.elastic.co/t/logs-can-not-stream-properly-after-logstash-service-restart/122642/3 "2018-03-06T07:06:24Z")

</div>

okie @magnusbaeck  
i open issue under log4net-socket-appender on github.  
thanks for reply.

---

<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:** [April 3, 2018, 7:06am UTC](https://discuss.elastic.co/t/logs-can-not-stream-properly-after-logstash-service-restart/122642/4 "2018-04-03T07:06:34Z")

</div>

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