summaryrefslogtreecommitdiffstats
path: root/grpc
diff options
context:
space:
mode:
Diffstat (limited to 'grpc')
-rw-r--r--grpc/grpc-client/src/main/resources/log4j2.properties2
-rw-r--r--grpc/grpc-server/src/main/resources/log4j2.properties2
2 files changed, 2 insertions, 2 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
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