diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2017-12-27 05:20:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-12-27 05:20:18 +0000 |
commit | 12d665b771c56a7da1efc25ecd7214484ef89c89 (patch) | |
tree | 338eb411abe32cb57679fa1dc28f4dabf79ed8ee /framework/src | |
parent | fe23cceb0590a3149d0c76e615e96bb95218d31c (diff) | |
parent | d195247248622408480e9f853127c354724c1b78 (diff) |
Merge "Fix log4j properties file"
Diffstat (limited to 'framework/src')
-rw-r--r-- | framework/src/main/resources/log4j.properties | 10 |
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 |