diff --git a/salt/elasticsearch/files/log4j2.properties b/salt/elasticsearch/files/log4j2.properties index 45d3d852b..b29378d6a 100644 --- a/salt/elasticsearch/files/log4j2.properties +++ b/salt/elasticsearch/files/log4j2.properties @@ -40,7 +40,7 @@ appender.rolling_json.strategy.action.basepath = /var/log/elasticsearch appender.rolling_json.strategy.action.condition.type = IfFileName appender.rolling_json.strategy.action.condition.glob = *.json.gz appender.rolling_json.strategy.action.condition.nested_condition.type = IfLastModified -appender.rolling_json.strategy.action.condition.nested_condition.exceeds = 1D +appender.rolling_json.strategy.action.condition.nested_condition.age = 1D rootLogger.level = info rootLogger.appenderRef.rolling.ref = rolling