This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new cc77e6c  Add Commons Logging bridge to broker (#1740)
cc77e6c is described below

commit cc77e6c809b5cd75601cd9bcc47a868104b688b2
Author: Ivan Kelly <iv...@apache.org>
AuthorDate: Mon May 7 20:53:07 2018 +0200

    Add Commons Logging bridge to broker (#1740)
    
    The AWS SDK, which we use for S3 offload uses commons logging as its
    logging API. For slf4j to be able to pick up this logs, we need to use
    the jcl-over-slf4j bridge. This patch adds the bridge as a dependency
    for the broker.
    
    Master Issue: #1511
---
 pom.xml               | 6 ++++++
 pulsar-broker/pom.xml | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index 18c0c0e..e3205ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -389,6 +389,12 @@ flexible messaging model and an intuitive client 
API.</description>
       </dependency>
 
       <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>jcl-over-slf4j</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+
+      <dependency>
         <groupId>org.apache.logging.log4j</groupId>
         <artifactId>log4j-api</artifactId>
         <version>${log4j2.version}</version>
diff --git a/pulsar-broker/pom.xml b/pulsar-broker/pom.xml
index a830674..ed8405f 100644
--- a/pulsar-broker/pom.xml
+++ b/pulsar-broker/pom.xml
@@ -204,6 +204,11 @@
     </dependency>
 
     <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>jcl-over-slf4j</artifactId>
+    </dependency>
+
+    <dependency>
       <groupId>com.google.guava</groupId>
       <artifactId>guava</artifactId>
     </dependency>

-- 
To stop receiving notification emails like this one, please contact
mme...@apache.org.

Reply via email to