kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject git commit: kafka-1287; enable log4j in command line tools using the new producer; patched by Jun Rao; reviewed by Guozhang Wang and Neha Narkhede
Date Mon, 03 Mar 2014 17:36:48 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 220cc842a -> 40c6555eb


kafka-1287; enable log4j in command line tools using the new producer; patched by Jun Rao;
reviewed by Guozhang Wang and Neha Narkhede


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/40c6555e
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/40c6555e
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/40c6555e

Branch: refs/heads/trunk
Commit: 40c6555eb0d0db25d6bd06c5eb4040246805c79f
Parents: 220cc84
Author: Jun Rao <junrao@gmail.com>
Authored: Mon Mar 3 09:35:21 2014 -0800
Committer: Jun Rao <junrao@gmail.com>
Committed: Mon Mar 3 09:35:21 2014 -0800

----------------------------------------------------------------------
 build.gradle | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/40c6555e/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 36ea2b7..7f1caa2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -20,7 +20,7 @@ buildscript {
   apply from: file('gradle/buildscript.gradle'), to: buildscript
 }
 
-slf4jlog4j='org.slf4j:slf4j-log4j12:1.7.6'
+def slf4jlog4j='org.slf4j:slf4j-log4j12:1.7.6'
 
 allprojects {
   apply plugin: 'idea'
@@ -181,9 +181,13 @@ project(':core') {
   }
 
   tasks.create(name: "copyDependantLibs", type: Copy) {
+    from (configurations.testRuntime) {
+      include('slf4j-log4j12*')
+    }
+    from (configurations.runtime) {
+      exclude('kafka-clients*')
+    }
     into "$buildDir/dependant-libs-${scalaVersion}"
-    from configurations.runtime
-    exclude('kafka-clients*')
   }
 
   tasks.create(name: "releaseTarGz", dependsOn: configurations.archives.artifacts, type:
Tar) { 


Mime
View raw message