Custom naming of log files created by the File Appender
The configuration parameter named appender.file.pattern=logs/audit-%d{yyyy-MM-dd}-%i.log.gz allows you to customize the naming of the log files created by the File Appender.
You can find this parameter in the audit.properties file.
The pattern typically includes placeholders or conversion characters that are replaced with specific values when the log file is created. For example, with the default configuration, old logs will be generated in the format logs/audit-2024-05-06-i.log.gz.
You can modify the pattern as needed. For instance, if you want to generate monthly logs, you can define the pattern as logs/audit-%d{yyyy-MM}-%i.log.gz.