aboutsummaryrefslogtreecommitdiffstats
path: root/grpc/grpc-server/src/main/resources
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 /grpc/grpc-server/src/main/resources
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 'grpc/grpc-server/src/main/resources')
-rw-r--r--grpc/grpc-server/src/main/resources/log4j2.properties2
1 files changed, 1 insertions, 1 deletions
diff --git a/grpc/grpc-server/src/main/resources/log4j2.properties b/grpc/grpc-server/src/main/resources/log4j2.properties
index a0c2af95..a766d6f7 100644
--- a/grpc/grpc-server/src/main/resources/log4j2.properties
+++ b/grpc/grpc-server/src/main/resources/log4j2.properties
@@ -46,7 +46,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