You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Roger (Jira)" <ji...@apache.org> on 2019/11/12 10:43:00 UTC

[jira] [Created] (LOG4J2-2719) Logs are not being captured in the folder with the current date

Roger created LOG4J2-2719:
-----------------------------

             Summary: Logs are not being captured in the folder with the current date
                 Key: LOG4J2-2719
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2719
             Project: Log4j 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.11.2
            Reporter: Roger
         Attachments: log4j2.xml

Logs are not being captured in current date's folder, for example lets say today is 11th Nov 2019

1) On startup the logs go into D:/Logs/2019-11-11/ fine

2) On the following day the folder with today's date is created D:/Logs/2019-11-*12*/ but the logs are still being written to the file in the older folder i.e. D:/Logs/2019-11-11/

Please advise how to ensure the logs go into the folder with the current date.

See log4j2.xml file attached.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)