# Set cluster log facility

**URL:** <https://discuss.elastic.co/t/set-cluster-log-facility/79659>\
**Category:** Elasticsearch\
**Created:** [March 22, 2017, 11:39pm UTC](https://discuss.elastic.co/t/set-cluster-log-facility/79659 "2017-03-22T23:39:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno\_Odon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bruno_odon/32/16573_2.png) [@Bruno\_Odon](https://discuss.elastic.co/u/Bruno_Odon)\
**Post date:** [March 22, 2017, 11:39pm UTC](https://discuss.elastic.co/t/set-cluster-log-facility/79659/1 "2017-03-22T23:39:49Z")

</div>

Good evening!  
How to set the cluster log facility on log4j2.properties file?  
I need to send this log to syslog anyway.  
Thank you!

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [March 23, 2017, 1:16am UTC](https://discuss.elastic.co/t/set-cluster-log-facility/79659/2 "2017-03-23T01:16:00Z")

</div>

You need to use the [`SyslogAppender`](https://logging.apache.org/log4j/2.x/manual/appenders.html#SyslogAppender).

---

<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 20, 2017, 1:16am UTC](https://discuss.elastic.co/t/set-cluster-log-facility/79659/3 "2017-04-20T01:16:03Z")

</div>

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