Turn on logging in examples

Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/0a66e237
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/0a66e237
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/0a66e237

Branch: refs/heads/master
Commit: 0a66e237b7f4d3c04c627e62a629fcde8eb108e1
Parents: e8065ef
Author: Mike Percy <[email protected]>
Authored: Sun Sep 27 21:56:16 2015 -0400
Committer: Mike Percy <[email protected]>
Committed: Sun Sep 27 21:56:16 2015 -0400

----------------------------------------------------------------------
 java/collectl/pom.xml    | 9 +++++++++
 java/java-sample/README  | 2 +-
 java/java-sample/pom.xml | 9 +++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/0a66e237/java/collectl/pom.xml
----------------------------------------------------------------------
diff --git a/java/collectl/pom.xml b/java/collectl/pom.xml
index 70bf48b..a862635 100644
--- a/java/collectl/pom.xml
+++ b/java/collectl/pom.xml
@@ -54,11 +54,20 @@
   </repositories>
 
   <dependencies>
+
     <dependency>
       <groupId>org.kududb</groupId>
       <artifactId>kudu-client</artifactId>
       <version>0.5.0</version>
     </dependency>
+
+    <!-- for logging messages -->
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-simple</artifactId>
+      <version>1.7.12</version>
+    </dependency>
+
   </dependencies>
 
 </project>

http://git-wip-us.apache.org/repos/asf/kudu/blob/0a66e237/java/java-sample/README
----------------------------------------------------------------------
diff --git a/java/java-sample/README b/java/java-sample/README
index 5d8efb0..71cd034 100644
--- a/java/java-sample/README
+++ b/java/java-sample/README
@@ -5,7 +5,7 @@ its table.
 To build and run, do the following:
 
 $ mvn package
-$ java -jar target/kudu-java-sample-1.0-SNAPSHOT.jar 
+$ java -jar target/kudu-java-sample-1.0-SNAPSHOT.jar
 
 This example assumes that you are running the Quickstart VM with the host name
 "quickstart.cloudera". If you are running against a different cluster, pass the

http://git-wip-us.apache.org/repos/asf/kudu/blob/0a66e237/java/java-sample/pom.xml
----------------------------------------------------------------------
diff --git a/java/java-sample/pom.xml b/java/java-sample/pom.xml
index b0aa946..1c224fb 100644
--- a/java/java-sample/pom.xml
+++ b/java/java-sample/pom.xml
@@ -54,11 +54,20 @@
   </repositories>
 
   <dependencies>
+
     <dependency>
       <groupId>org.kududb</groupId>
       <artifactId>kudu-client</artifactId>
       <version>0.5.0</version>
     </dependency>
+
+    <!-- for logging messages -->
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-simple</artifactId>
+      <version>1.7.12</version>
+    </dependency>
+
   </dependencies>
 
 </project>

Reply via email to