Skip to content

Commit

Permalink
Merge pull request #202 from guidograzioli/201_log4j_roll_index
Browse files Browse the repository at this point in the history
Add missing index to log4j2 filePattern
  • Loading branch information
guidograzioli authored Nov 27, 2024
2 parents 1252d48 + 57f82ee commit 20c9ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/activemq/templates/log4j2.properties.j2
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ appender.console.layout.pattern=%d %-5level [%logger] %msg%n
appender.log_file.type = RollingFile
appender.log_file.name = log_file
appender.log_file.fileName = ${sys:artemis.instance}{{ activemq_logger_filepath }}
appender.log_file.filePattern = ${sys:artemis.instance}{{ activemq_logger_filepath }}.%d{yyyy-MM-dd}
appender.log_file.filePattern = ${sys:artemis.instance}{{ activemq_logger_filepath }}.%d{yyyy-MM-dd}.%i
appender.log_file.layout.type = PatternLayout
appender.log_file.layout.pattern = %d %-5level [%logger] %msg%n
appender.log_file.policies.type = Policies
Expand All @@ -92,7 +92,7 @@ appender.log_file.strategy.max={{ activemq_logger_rollover_files }}
appender.audit_log_file.type = RollingFile
appender.audit_log_file.name = audit_log_file
appender.audit_log_file.fileName = ${sys:artemis.instance}/log/audit.log
appender.audit_log_file.filePattern = ${sys:artemis.instance}/log/audit.log.%d{yyyy-MM-dd}
appender.audit_log_file.filePattern = ${sys:artemis.instance}/log/audit.log.%d{yyyy-MM-dd}.%i
appender.audit_log_file.layout.type = PatternLayout
appender.audit_log_file.layout.pattern = %d [AUDIT](%t) %msg%n
appender.audit_log_file.policies.type = Policies
Expand Down

0 comments on commit 20c9ffb

Please sign in to comment.