diff --git a/src/main/resources/log4j2.properties b/src/main/resources/log4j2.properties index ca00468..b859553 100644 --- a/src/main/resources/log4j2.properties +++ b/src/main/resources/log4j2.properties @@ -3,7 +3,7 @@ status = warn appender.console.type = Console appender.console.name = consoleLogger appender.console.layout.type = PatternLayout -appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} %p [%thread] %logger - %msg%n +appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS}{America/Toronto} %p [%thread] %logger - %msg%n # Rotate log file appender.rolling.type = RollingFile @@ -11,7 +11,7 @@ appender.rolling.name = LogToRollingFile appender.rolling.fileName = logs/debug.log appender.rolling.filePattern = logs/$${date:yyyy-MM}/debug-%d{MM-dd-yyyy}-%i.log.gz appender.rolling.layout.type = PatternLayout -appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} %p [%thread] %logger - %msg%n +appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS}{America/Toronto} %p [%thread] %logger - %msg%n appender.rolling.policies.type = Policies appender.rolling.policies.time.type = TimeBasedTriggeringPolicy appender.rolling.policies.size.type = SizeBasedTriggeringPolicy