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 "lee yongjoong (JIRA)" <ji...@apache.org> on 2015/12/13 07:59:46 UTC

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

lee yongjoong created LOG4J2-1223:
-------------------------------------

             Summary: 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 "foo-20151202.log".

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