You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Michihito Shigemura (JIRA)" <ji...@apache.org> on 2016/05/12 16:58:13 UTC

[jira] [Closed] (METAMODEL-1045) New Appender rotating logs with date and deleting older logs.

     [ https://issues.apache.org/jira/browse/METAMODEL-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michihito Shigemura closed METAMODEL-1045.
------------------------------------------
       Resolution: Not A Problem
    Fix Version/s: 4.5.3

Sorry for bothering you. It is a log4php issue.

> New Appender rotating logs with date and deleting older logs.
> -------------------------------------------------------------
>
>                 Key: METAMODEL-1045
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-1045
>             Project: Apache MetaModel
>          Issue Type: New Feature
>    Affects Versions: 4.5.1, 4.5.2
>         Environment: MacOSX El Capitan PHP 5.5.30
>            Reporter: Michihito Shigemura
>            Priority: Minor
>             Fix For: 4.5.3
>
>
> I want a new appender for log4php.
> I need a log rotation like this.
> application.log
> (backup logs)
> application.log.2016-05-11.gz
> application.log.2016-05-10.gz
> application.log.2016-05-09.gz
> application.log.2016-05-08.gz
> application.log.2016-05-07.gz
> (older logs than May 6 would be deleted)
> But current appender LoggerAppenderDailyFile can't delete older logs.
> application.log.2016-05-12
> application.log.2016-05-11
> application.log.2016-05-10
> application.log.2016-05-09
> application.log.2016-05-08
> application.log.2016-05-07
> (older logs would not be deleted)
> And current appender LoggerAppenderRollingFile can't rotate date format.
> application.log
> application.log.1
> application.log.2
> application.log.3
> application.log.4
> (Logs's suffix is not date but number)
> I want new appenders.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)