Logstash log4j2.properties logfiles are not deleting

This thread might help you.