diff options
author | priyanka.akhade <priyanka.akhade@huawei.com> | 2020-03-04 14:06:35 +0000 |
---|---|---|
committer | priyanka.akhade <priyanka.akhade@huawei.com> | 2020-03-04 14:06:35 +0000 |
commit | ee6c134312bff3506f4f7eca695dad7d0dfec2d9 (patch) | |
tree | 179e415ac73a8e8e2a6f2c3fca0ab950b7cee29f /grpc/grpc-client/src | |
parent | 92d3092901ab1866766953e5f8d74bacf27bbc8f (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-client/src')
-rw-r--r-- | grpc/grpc-client/src/main/resources/log4j2.properties | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grpc/grpc-client/src/main/resources/log4j2.properties b/grpc/grpc-client/src/main/resources/log4j2.properties index b6d01949..9ccd2266 100644 --- a/grpc/grpc-client/src/main/resources/log4j2.properties +++ b/grpc/grpc-client/src/main/resources/log4j2.properties @@ -44,7 +44,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 |