ppkarwasz commented on issue #1722:
URL: 
https://github.com/apache/logging-log4j2/issues/1722#issuecomment-1691090586

   > I would suggest you try using %d for your directory name and then only 
include %i in the file name. This actually makes more sense since, with what 
you wanted, the time in the directory and time in the file name would always be 
the same.
   
   Looking at the current code of 
[`PatternProcessor`](https://github.com/apache/logging-log4j2/blob/cec4730c56d77b22c5b147af5bacfc98ba3124e7/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/PatternProcessor.java#L91),
 using two `%d` patterns should work too.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to