Elasticsearch logs retention to 7 days

Hi guys,
Is there any way to reduce the Elasticsearch app logs count to 7 days using log4j.properties? Currently as I can observe, the log rotation in /var/log/elasticsearch has no limit and goes on rolling over. I want only previous 7 backed-up log files on system.
Any help is appreciated. Thank you.