summaryrefslogtreecommitdiffstats
path: root/deployment/zip/src/main/release/conf/log4j2.properties
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2020-03-10 11:17:55 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2020-03-10 11:17:55 +0530
commit0c96183a143a91a09e9d0d9b17d00466a83cb855 (patch)
tree4588fba0b6175e25fc2a644adecc0523ddf198ae /deployment/zip/src/main/release/conf/log4j2.properties
parentf9d859461d6f1fbe42f99e7483674a6a6b0261d6 (diff)
Fix the versioning issue
Issue-ID: CLI-257 Change-Id: I194d8389f0d4fef116b9a87d484ad8b78ad401a5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/zip/src/main/release/conf/log4j2.properties')
-rw-r--r--deployment/zip/src/main/release/conf/log4j2.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/deployment/zip/src/main/release/conf/log4j2.properties b/deployment/zip/src/main/release/conf/log4j2.properties
index b8ae7604..5c210867 100644
--- a/deployment/zip/src/main/release/conf/log4j2.properties
+++ b/deployment/zip/src/main/release/conf/log4j2.properties
@@ -22,7 +22,7 @@ rootLogger.appenderRef.file.ref=RollingFile
loggers=cli,grpc
logger.cli.name = org.onap.cli
-logger.cli.level=ERROR
+logger.cli.level=INFO
logger.cli.additivity=false
logger.cli.appenderRef.file.ref=RollingFile
@@ -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