aboutsummaryrefslogtreecommitdiffstats
path: root/framework
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 /framework
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 'framework')
-rw-r--r--framework/src/main/resources/log4j2.properties2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/main/resources/log4j2.properties b/framework/src/main/resources/log4j2.properties
index c8e38ab0..2c3eccc8 100644
--- a/framework/src/main/resources/log4j2.properties
+++ b/framework/src/main/resources/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