aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources/log4j.properties
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/main/resources/log4j.properties')
-rw-r--r--framework/src/main/resources/log4j.properties10
1 files changed, 9 insertions, 1 deletions
diff --git a/framework/src/main/resources/log4j.properties b/framework/src/main/resources/log4j.properties
index d27b1d60..7cfc25d3 100644
--- a/framework/src/main/resources/log4j.properties
+++ b/framework/src/main/resources/log4j.properties
@@ -1,4 +1,12 @@
-log4j.rootLogger=ALL, file
+log4j.rootLogger=ERROR, file
+
+log4j.logger.org.onap.cli=DEBUG, file
+
+# Direct log messages to stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
# Redirect log messages to a log file, support file rolling.
log4j.appender.file=org.apache.log4j.RollingFileAppender