# How to log every request

**URL:** <https://discuss.elastic.co/t/how-to-log-every-request/10367>\
**Category:** Elasticsearch\
**Created:** [January 16, 2013, 5:27am UTC](https://discuss.elastic.co/t/how-to-log-every-request/10367 "2013-01-16T05:27:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asoqa](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@asoqa](https://discuss.elastic.co/u/asoqa)\
**Post date:** [January 16, 2013, 5:27am UTC](https://discuss.elastic.co/t/how-to-log-every-request/10367/1 "2013-01-16T05:27:11Z")

</div>

```
   Whenever a request is sent to es, I want to log the request related 

```

information into a file . But in config/logging.yml, I can not find related  
settings.  
Does es not support this feature?

--

---

<div class="post-metadata">

**Author:** ![zador](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zador/32/2534_2.png) [@zador](https://discuss.elastic.co/u/zador)\
**Post date:** [January 16, 2013, 11:59am UTC](https://discuss.elastic.co/t/how-to-log-every-request/10367/2 "2013-01-16T11:59:14Z")

</div>

Take a look at this plugin

> **[GitHub - sonian/elasticsearch-jetty](https://github.com/sonian/elasticsearch-jetty#request-logging)**
>
> Contribute to sonian/elasticsearch-jetty development by creating an account on GitHub.

On Wednesday, January 16, 2013 9:27:11 AM UTC+4, asoqa wrote:

> ```
> Whenever a request is sent to es, I want to log the request related 
> 
> ```
> 
> information into a file . But in config/logging.yml, I can not find related  
> settings.  
> Does es not support this feature?

--

---

<div class="post-metadata">

**Author:** ![asoqa](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@asoqa](https://discuss.elastic.co/u/asoqa)\
**Post date:** [January 17, 2013, 5:14am UTC](https://discuss.elastic.co/t/how-to-log-every-request/10367/3 "2013-01-17T05:14:09Z")

</div>

thanks, I will try this plugin if es does not support. It's better es  
support this feature instead of a plugin. Log is a baisc feature, I think.

在 2013年1月16日星期三UTC+8下午7时59分14秒，zador写道：

> Take a look at this plugin  
> [GitHub - sonian/elasticsearch-jetty](https://github.com/sonian/elasticsearch-jetty#request-logging)
> 
> On Wednesday, January 16, 2013 9:27:11 AM UTC+4, asoqa wrote:
> 
> > ```
> > Whenever a request is sent to es, I want to log the request 
> > 
> > ```
> > 
> > related information into a file . But in config/logging.yml, I can not find  
> > related settings.  
> > Does es not support this feature?

--

---

<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, 2:56am UTC](https://discuss.elastic.co/t/how-to-log-every-request/10367/4 "2017-07-06T02:56:00Z")

</div>


