# Wares plugin and logging.yml

**URL:** <https://discuss.elastic.co/t/wares-plugin-and-logging-yml/8991>\
**Category:** Elasticsearch\
**Created:** [September 11, 2012, 2:00pm UTC](https://discuss.elastic.co/t/wares-plugin-and-logging-yml/8991 "2012-09-11T14:00:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Sanwald](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul_sanwald/32/2076_2.png) [@Paul\_Sanwald](https://discuss.elastic.co/u/Paul_Sanwald)\
**Post date:** [September 11, 2012, 2:00pm UTC](https://discuss.elastic.co/t/wares-plugin-and-logging-yml/8991/1 "2012-09-11T14:00:24Z")

</div>

Hi,  
I am running an instance of elasticsearch inside a jetty container,  
using the excellent transport wares plugin[https://github.com/elasticsearch/elasticsearch-transport-wares](https://github.com/elasticsearch/elasticsearch-transport-wares).  
I pretty much followed the configuration that javanna uses in this github  
project. [https://github.com/javanna/elasticsearch-war-example](https://github.com/javanna/elasticsearch-war-example)

The only question I have, is that it seems like I need to use a  
log4j.properties file directly for logging, instead of the (much nicer)  
logging.yml format that elastic search allows. I'd like to use the  
logging.yml format, but can't see a way to get it to work out of the box.

Any ideas? or am I stuck with log4j.properties?

--paul

--

---

<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:** [July 6, 2017, 3:13am UTC](https://discuss.elastic.co/t/wares-plugin-and-logging-yml/8991/2 "2017-07-06T03:13:12Z")

</div>


