You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Senthilraja (JIRA)" <ji...@apache.org> on 2017/02/28 09:36:45 UTC
[jira] [Created] (LOG4J2-1829) Delete log files older than x days
and max size of a log file should be y(MB)
Senthilraja created LOG4J2-1829:
-----------------------------------
Summary: Delete log files older than x days and max size of a log file should be y(MB)
Key: LOG4J2-1829
URL: https://issues.apache.org/jira/browse/LOG4J2-1829
Project: Log4j 2
Issue Type: Bug
Reporter: Senthilraja
I need log4j to handle the following requirements(both).
1) I want my log files to be created with maximum size of 100MB, exceeding that size a new file should be created.
2) I need to mention number of days to maintain the log files. If the specified days have crossed, the older log files should be deleted.
Whether both the requirements can be handled in same log4j configuration.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org