logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bohdan Mushkevych (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-550) TimeBasedTriggeringPolicy is not triggering file roll-over
Date Mon, 24 Feb 2014 20:24:20 GMT

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

Bohdan Mushkevych updated LOG4J2-550:
-------------------------------------

    Attachment: log4j2.xml

> TimeBasedTriggeringPolicy is not triggering file roll-over
> ----------------------------------------------------------
>
>                 Key: LOG4J2-550
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-550
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0-rc1
>            Reporter: Bohdan Mushkevych
>         Attachments: log4j2.xml
>
>
> I am using log4j 2.0-rc1, StructuredDataMessage and EventLogger to perform dynamic logging.
> Attached log4j2.xml configuration meant to:
> - rotate log files on hourly basis OR after file reaches 64 MB (whatever comes first)
> - archive logs that does not satisfy the file pattern
> Whenever JVM is restarted, log4j abandons "old" files un-archived:
> -rw-r--r--. 1 root root   317625 Feb 24 20:16 2014022419-sim-mdmlocal.mobidia.com.log
> -rw-r--r--. 1 root root  3333648 Feb 24 20:20 2014022420-activity-mdmlocal.mobidia.com.log



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message