This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit ad729403a971f08a0bdc450788e083846c64c103 Author: Benoit Tellier <[email protected]> AuthorDate: Thu Oct 8 08:30:25 2020 +0700 JAMES-3399 Allow JSON logging with logback --- pom.xml | 10 ++++++++++ server/container/guice/cassandra-guice/pom.xml | 8 ++++++++ server/container/guice/jpa-guice/pom.xml | 8 ++++++++ server/container/guice/memory-guice/pom.xml | 8 ++++++++ 4 files changed, 34 insertions(+) diff --git a/pom.xml b/pom.xml index ecbad38..3ffa5b4 100644 --- a/pom.xml +++ b/pom.xml @@ -1943,6 +1943,16 @@ <version>${logback.version}</version> </dependency> <dependency> + <groupId>ch.qos.logback.contrib</groupId> + <artifactId>logback-jackson</artifactId> + <version>0.1.5</version> + </dependency> + <dependency> + <groupId>ch.qos.logback.contrib</groupId> + <artifactId>logback-json-classic</artifactId> + <version>0.1.5</version> + </dependency> + <dependency> <groupId>com.beetstra.jutf7</groupId> <artifactId>jutf7</artifactId> <version>${jutf7.version}</version> diff --git a/server/container/guice/cassandra-guice/pom.xml b/server/container/guice/cassandra-guice/pom.xml index 7413af1..c29be3b 100644 --- a/server/container/guice/cassandra-guice/pom.xml +++ b/server/container/guice/cassandra-guice/pom.xml @@ -300,6 +300,14 @@ <artifactId>logback-classic</artifactId> </dependency> <dependency> + <groupId>ch.qos.logback.contrib</groupId> + <artifactId>logback-jackson</artifactId> + </dependency> + <dependency> + <groupId>ch.qos.logback.contrib</groupId> + <artifactId>logback-json-classic</artifactId> + </dependency> + <dependency> <groupId>com.linagora</groupId> <artifactId>logback-elasticsearch-appender</artifactId> </dependency> diff --git a/server/container/guice/jpa-guice/pom.xml b/server/container/guice/jpa-guice/pom.xml index 2b7fef3..31e1304 100644 --- a/server/container/guice/jpa-guice/pom.xml +++ b/server/container/guice/jpa-guice/pom.xml @@ -172,6 +172,14 @@ <artifactId>logback-classic</artifactId> </dependency> <dependency> + <groupId>ch.qos.logback.contrib</groupId> + <artifactId>logback-jackson</artifactId> + </dependency> + <dependency> + <groupId>ch.qos.logback.contrib</groupId> + <artifactId>logback-json-classic</artifactId> + </dependency> + <dependency> <groupId>com.linagora</groupId> <artifactId>logback-elasticsearch-appender</artifactId> </dependency> diff --git a/server/container/guice/memory-guice/pom.xml b/server/container/guice/memory-guice/pom.xml index 3acfd83..53f6cf0 100644 --- a/server/container/guice/memory-guice/pom.xml +++ b/server/container/guice/memory-guice/pom.xml @@ -209,6 +209,14 @@ <artifactId>logback-classic</artifactId> </dependency> <dependency> + <groupId>ch.qos.logback.contrib</groupId> + <artifactId>logback-jackson</artifactId> + </dependency> + <dependency> + <groupId>ch.qos.logback.contrib</groupId> + <artifactId>logback-json-classic</artifactId> + </dependency> + <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <scope>test</scope> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
