From 0c96183a143a91a09e9d0d9b17d00466a83cb855 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Tue, 10 Mar 2020 11:17:55 +0530 Subject: Fix the versioning issue Issue-ID: CLI-257 Change-Id: I194d8389f0d4fef116b9a87d484ad8b78ad401a5 Signed-off-by: Kanagaraj Manickam k00365106 --- framework/src/main/resources/log4j2.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/src/main/resources/log4j2.properties') diff --git a/framework/src/main/resources/log4j2.properties b/framework/src/main/resources/log4j2.properties index 2c3eccc8..e62106dc 100644 --- a/framework/src/main/resources/log4j2.properties +++ b/framework/src/main/resources/log4j2.properties @@ -44,8 +44,8 @@ appender.stdout.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n # Redirect log messages to a log file, support file rolling. 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.%d{yyyy-MM-dd-HH:mm:ss}.log +appender.file.fileName=${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 -- cgit 1.2.3-korg