-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
In cases of creating files, especially for logging, including a date format of when the file was created could be useful.
The request was:
I would like to customize the access log file name, where i use a variable to have the current date as part of the log file name as below. access_log.yyyy-MM-dd (access_log.2023-10-16) Instead of default access.log or access_log.log.
This seems like a reasonable request to me. We could allow for something like ${time.yyyy-MM-dd}. Whether this is a known expression syntax or something custom to file names cold be up for debate. The time. would be the indicator after that key, the value is a valid java.time.format.DateTimeFormatter pattern. We might want to use something other than time. as the key, but that is the general idea.