# Logstash Logging to /var/log/messages

**URL:** <https://discuss.elastic.co/t/logstash-logging-to-var-log-messages/186085>\
**Category:** Logstash\
**Created:** [June 17, 2019, 2:15pm UTC](https://discuss.elastic.co/t/logstash-logging-to-var-log-messages/186085 "2019-06-17T14:15:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 17, 2019, 2:48pm UTC](https://discuss.elastic.co/t/logstash-logging-to-var-log-messages/186085/2 "2019-06-17T14:48:49Z")

</div>

logstash does not log to /var/log/message, it writes to stdout and it logs to /var/log/logstash. If you are running logstash as a service and you have your service manager configured to cc the stdout of a service to /var/log/messages than your service manager will write to /var/log/messages. The solution is to reconfigure the service manager.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-logging-to-var-log-messages/186085)._
