summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2017-12-27 05:20:18 +0000
committerGerrit Code Review <gerrit@onap.org>2017-12-27 05:20:18 +0000
commit12d665b771c56a7da1efc25ecd7214484ef89c89 (patch)
tree338eb411abe32cb57679fa1dc28f4dabf79ed8ee
parentfe23cceb0590a3149d0c76e615e96bb95218d31c (diff)
parentd195247248622408480e9f853127c354724c1b78 (diff)
Merge "Fix log4j properties file"
-rw-r--r--framework/src/main/resources/log4j.properties10
-rw-r--r--main/sample-test-schema-sample.yaml16
-rw-r--r--profiles/http/pom.xml2
3 files changed, 10 insertions, 18 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
diff --git a/main/sample-test-schema-sample.yaml b/main/sample-test-schema-sample.yaml
deleted file mode 100644
index 3bb7a210..00000000
--- a/main/sample-test-schema-sample.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-open_cli_sample_version: 1.0
-name: sample-test
-version: open-cli
-samples:
- sample1:
- name: sample-test
- input: --string-param test
- moco: sample-test-schema-moco.json
- output: |
- +----------+--------+
- |property |value |
- +----------+--------+
- |output-1 |[] |
- +----------+--------+
- |output-2 |[] |
- +----------+--------+
diff --git a/profiles/http/pom.xml b/profiles/http/pom.xml
index ecc0a951..1c9e037f 100644
--- a/profiles/http/pom.xml
+++ b/profiles/http/pom.xml
@@ -9,7 +9,7 @@
</parent>
<artifactId>cli-profiles-http</artifactId>
- <name>cli-profiles/http</name>
+ <name>cli/profiles/http</name>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>