# How to create a Logstash service startup Log

**URL:** <https://discuss.elastic.co/t/how-to-create-a-logstash-service-startup-log/221858>\
**Category:** Logstash\
**Created:** [March 3, 2020, 10:47am UTC](https://discuss.elastic.co/t/how-to-create-a-logstash-service-startup-log/221858 "2020-03-03T10:47:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckough](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ckough/32/61892_2.png) [@ckough](https://discuss.elastic.co/u/ckough)\
**Post date:** [March 3, 2020, 10:47am UTC](https://discuss.elastic.co/t/how-to-create-a-logstash-service-startup-log/221858/1 "2020-03-03T10:47:15Z")

</div>

Hi There,

I can start logstash if I run a cmd like:  
sudo .../logstash -f /etc/logstash/conf.d/myconfig.conf --path.settings /etc/logstash/ --debug

However I can't start up the logstash service to run the same config. I know it's likely to be a permission issue since the former is run as root but latter runs as logstash user.

My question is how do I create a Logstash service startup debug log so that I can find out which binaries are affected.

Thanks in advance!  
ck

---

<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 31, 2020, 10:47am UTC](https://discuss.elastic.co/t/how-to-create-a-logstash-service-startup-log/221858/2 "2020-03-31T10:47:17Z")

</div>

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