diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-12-27 10:27:24 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-12-27 10:32:44 +0530 |
commit | d195247248622408480e9f853127c354724c1b78 (patch) | |
tree | e8d969c4b5f669610c38985b51c2e5df2cc158fb | |
parent | df20c73d6c5693ac1cb720b67ad5b1731a8c6104 (diff) |
Fix log4j properties file
Issue-ID: CLI-66
Change-Id: I3e4e34b3f4b78d1948dcb0dc96efba31dbcb65da
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r-- | framework/src/main/resources/log4j.properties | 10 | ||||
-rw-r--r-- | main/sample-test-schema-sample.yaml | 16 | ||||
-rw-r--r-- | profiles/http/pom.xml | 2 |
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> |