Is it possible with any of the log4j appenders to write the logs with specific rotation time and retention limit.
The goal would be:
- to have a log file for each day; create a new file at midnight for the new logs
- to keep the log files and delete them automatically after a certain amount of time; so delete log files older than X days (e.g. 30 days)
It seem that the rotation is possible but the limit of the retention time is not possible with log4j
The log4j version is 1.2.