From ee6c134312bff3506f4f7eca695dad7d0dfec2d9 Mon Sep 17 00:00:00 2001 From: "priyanka.akhade" Date: Wed, 4 Mar 2020 14:06:35 +0000 Subject: Resolved RollingFileAppender(filePattern) issue Issue-ID: CLI-249 Signed-off-by: priyanka.akhade Change-Id: I49a2187230deaed431f64e4007dee06f0dc799ff --- deployment/zip/src/main/release/conf/log4j2.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deployment/zip/src/main/release/conf') diff --git a/deployment/zip/src/main/release/conf/log4j2.properties b/deployment/zip/src/main/release/conf/log4j2.properties index 495c5d55..b8ae7604 100644 --- a/deployment/zip/src/main/release/conf/log4j2.properties +++ b/deployment/zip/src/main/release/conf/log4j2.properties @@ -45,7 +45,7 @@ appender.stdout.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n appender.file.type = RollingFile appender.file.name = RollingFile appender.file.fileName=${env:OPEN_CLI_HOME}/logs/open-cli.log -appender.file.filePattern=${env:OPEN_CLI_HOME}/logs/open-cli.log +appender.file.filePattern=${env:OPEN_CLI_HOME}/logs/open-cli.%d{yyyy-MM-dd-HH:mm:ss}.log appender.file.append=true appender.file.policies.type=Policies appender.file.policies.size.type=SizeBasedTriggeringPolicy -- cgit 1.2.3-korg