# Log4j2.properties doubt

**URL:** <https://discuss.elastic.co/t/log4j2-properties-doubt/315796>\
**Category:** Elasticsearch\
**Created:** [October 4, 2022, 3:03pm UTC](https://discuss.elastic.co/t/log4j2-properties-doubt/315796 "2022-10-04T15:03:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![S-elk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s-elk/32/98464_2.png) [@S-elk](https://discuss.elastic.co/u/S-elk)\
**Post date:** [October 4, 2022, 3:03pm UTC](https://discuss.elastic.co/t/log4j2-properties-doubt/315796/1 "2022-10-04T15:03:10Z")

</div>

Hello!  
does elasticsearch keep any change in log4j2.properties until a restart ?

im changing Logging to delete the logs by time not by size:

```auto
appender.rolling.strategy.action.condition.nested_condition.type = IfLastModified 
appender.rolling.strategy.action.condition.nested_condition.age = 7D

```

Thnaks in advanced!

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [October 4, 2022, 3:11pm UTC](https://discuss.elastic.co/t/log4j2-properties-doubt/315796/2 "2022-10-04T15:11:54Z")

</div>

AFAIK Logstash can only reload data transformation .conf files not own configuration .properties and .yml Whenever I have changed any settings, have to restart Logstash.

---

<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:** [November 1, 2022, 3:12pm UTC](https://discuss.elastic.co/t/log4j2-properties-doubt/315796/3 "2022-11-01T15:12:38Z")

</div>

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