From 5b30cb0eebee782283c01f4431a29a772711e28f Mon Sep 17 00:00:00 2001 From: "Pfifer, Justin" Date: Tue, 13 Mar 2018 10:02:54 -0700 Subject: [PATCH] Added Logback configuration Added configuration for Logback. * For amazon-kinesis-client the configuration is only in test. * For amazon-kinesis-client-multilang the configuration is both for test, and normal use. Some additional dependency fighting. IntelliJ was really confused. --- amazon-kinesis-client-multilang/pom.xml | 7 ----- .../src/main/resources/logback.xml | 26 +++++++++++++++++++ .../src/test/resources/logback.xml | 26 +++++++++++++++++++ amazon-kinesis-client/pom.xml | 4 ++- .../src/test/resources/logback.xml | 26 +++++++++++++++++++ pom.xml | 12 +++++++++ 6 files changed, 93 insertions(+), 8 deletions(-) create mode 100644 amazon-kinesis-client-multilang/src/main/resources/logback.xml create mode 100644 amazon-kinesis-client-multilang/src/test/resources/logback.xml create mode 100644 amazon-kinesis-client/src/test/resources/logback.xml diff --git a/amazon-kinesis-client-multilang/pom.xml b/amazon-kinesis-client-multilang/pom.xml index 15d90773..a3f8f014 100644 --- a/amazon-kinesis-client-multilang/pom.xml +++ b/amazon-kinesis-client-multilang/pom.xml @@ -83,13 +83,6 @@ test - - com.amazonaws - DynamoDBLocal - 1.11.86 - test - - \ No newline at end of file diff --git a/amazon-kinesis-client-multilang/src/main/resources/logback.xml b/amazon-kinesis-client-multilang/src/main/resources/logback.xml new file mode 100644 index 00000000..46b45182 --- /dev/null +++ b/amazon-kinesis-client-multilang/src/main/resources/logback.xml @@ -0,0 +1,26 @@ + + + + + + %d [%thread] %-5level %logger{36} [%mdc{ShardId:-NONE}] - %msg %n + + + + + + + \ No newline at end of file diff --git a/amazon-kinesis-client-multilang/src/test/resources/logback.xml b/amazon-kinesis-client-multilang/src/test/resources/logback.xml new file mode 100644 index 00000000..46b45182 --- /dev/null +++ b/amazon-kinesis-client-multilang/src/test/resources/logback.xml @@ -0,0 +1,26 @@ + + + + + + %d [%thread] %-5level %logger{36} [%mdc{ShardId:-NONE}] - %msg %n + + + + + + + \ No newline at end of file diff --git a/amazon-kinesis-client/pom.xml b/amazon-kinesis-client/pom.xml index 32dc38c2..d1a4f020 100644 --- a/amazon-kinesis-client/pom.xml +++ b/amazon-kinesis-client/pom.xml @@ -49,6 +49,7 @@ 1.0.392 libsqlite4java ${project.build.directory}/test-lib + 1.7.25 @@ -85,7 +86,7 @@ org.slf4j slf4j-api - 1.7.25 + ${slf4j.version} org.projectlombok @@ -129,6 +130,7 @@ 1.1.7 test + diff --git a/amazon-kinesis-client/src/test/resources/logback.xml b/amazon-kinesis-client/src/test/resources/logback.xml new file mode 100644 index 00000000..46b45182 --- /dev/null +++ b/amazon-kinesis-client/src/test/resources/logback.xml @@ -0,0 +1,26 @@ + + + + + + %d [%thread] %-5level %logger{36} [%mdc{ShardId:-NONE}] - %msg %n + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 5a9e1508..65fb3d1d 100644 --- a/pom.xml +++ b/pom.xml @@ -41,11 +41,23 @@ repo + amazon-kinesis-client amazon-kinesis-client-multilang + + + amazonwebservices + Amazon Web Services + https://aws.amazon.com + + developer + + + +