# Update to RollingFileAppender using PUT (ES v1.4.2)?

**URL:** <https://discuss.elastic.co/t/update-to-rollingfileappender-using-put-es-v1-4-2/27063>\
**Category:** Elasticsearch\
**Created:** [August 7, 2015, 7:29pm UTC](https://discuss.elastic.co/t/update-to-rollingfileappender-using-put-es-v1-4-2/27063 "2015-08-07T19:29:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjohnst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mjohnst/32/4102_2.png) [@mjohnst](https://discuss.elastic.co/u/mjohnst)\
**Post date:** [August 7, 2015, 7:29pm UTC](https://discuss.elastic.co/t/update-to-rollingfileappender-using-put-es-v1-4-2/27063/1 "2015-08-07T19:29:14Z")

</div>

I know that it's possible to update the logging level via a PUT:

```
PUT /_cluster/settings
{
    "transient" : {
        "logger.discovery" : "DEBUG"
    }
}

```

Is it also possible to update the `log4kj` logging from using `dailyRollingFile` to `rollingFileAppender`?  
If so, is this the right syntax?

```
PUT /_cluster/settings
{
    "persistent": {
        "logger.appender.file.type": "rollingFileAppender",
        "logger.appender.file.maxFileSize": "50MB",
        "logger.appender.file.maxBackupIndex":"100"
    }
}

```

Our ES setup has quite a few clusters, and we would love to update these settings without having to manually edit `config/logging.yml` and restart for each cluster.

Thanks!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 8, 2015, 2:01am UTC](https://discuss.elastic.co/t/update-to-rollingfileappender-using-put-es-v1-4-2/27063/2 "2015-08-08T02:01:49Z")

</div>

I don't believe this works, but you can try it and see 😉

---

<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 5, 2017, 11:56pm UTC](https://discuss.elastic.co/t/update-to-rollingfileappender-using-put-es-v1-4-2/27063/3 "2017-07-05T23:56:43Z")

</div>


