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 "Ralph Goers (JIRA)" <ji...@apache.org> on 2015/12/13 11:17:46 UTC

[jira] [Closed] (LOG4J2-1223) I want set current date to "Active output target" in RollingFile.

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

Ralph Goers closed LOG4J2-1223.
-------------------------------

> I want set current date to "Active output target" in RollingFile.
> -----------------------------------------------------------------
>
>                 Key: LOG4J2-1223
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1223
>             Project: Log4j 2
>          Issue Type: Question
>          Components: Appenders
>    Affects Versions: 2.3
>            Reporter: lee yongjoong
>
> Hi.
> I want set current date to "active output target" in RollingFile.
> For example, if today is 2015/12/01,
> then "Active output target" is "foo-20151201.log".
> if day changed 2015/12/02,
> then "foo-20151201.log" will be Archived log files,
> and "Active output target" will be "foo-20151202.log"(new file).
> How can I achieve this?
> Thanks!



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

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