aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorpriyanka.akhade <priyanka.akhade@huawei.com>2020-03-04 14:06:35 +0000
committerpriyanka.akhade <priyanka.akhade@huawei.com>2020-03-04 14:06:35 +0000
commitee6c134312bff3506f4f7eca695dad7d0dfec2d9 (patch)
tree179e415ac73a8e8e2a6f2c3fca0ab950b7cee29f /deployment
parent92d3092901ab1866766953e5f8d74bacf27bbc8f (diff)
Resolved RollingFileAppender(filePattern) issue
Issue-ID: CLI-249 Signed-off-by: priyanka.akhade <priyanka.akhade@huawei.com> Change-Id: I49a2187230deaed431f64e4007dee06f0dc799ff
Diffstat (limited to 'deployment')
-rw-r--r--deployment/zip/src/main/release/conf/log4j2.properties2
1 files changed, 1 insertions, 1 deletions
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