flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muba...@apache.org
Subject svn commit: r1368364 - /flume/trunk/flume-ng-core/src/main/java/org/apache/flume/tools/VersionInfo.java
Date Thu, 02 Aug 2012 06:33:25 GMT
Author: mubarak
Date: Thu Aug  2 06:33:24 2012
New Revision: 1368364

URL: http://svn.apache.org/viewvc?rev=1368364&view=rev
Log:
FLUME-1414. VersionInfo should not create a log instance.

(Hari Shreedharan via Mike Percy)

Modified:
    flume/trunk/flume-ng-core/src/main/java/org/apache/flume/tools/VersionInfo.java

Modified: flume/trunk/flume-ng-core/src/main/java/org/apache/flume/tools/VersionInfo.java
URL: http://svn.apache.org/viewvc/flume/trunk/flume-ng-core/src/main/java/org/apache/flume/tools/VersionInfo.java?rev=1368364&r1=1368363&r2=1368364&view=diff
==============================================================================
--- flume/trunk/flume-ng-core/src/main/java/org/apache/flume/tools/VersionInfo.java (original)
+++ flume/trunk/flume-ng-core/src/main/java/org/apache/flume/tools/VersionInfo.java Thu Aug
 2 06:33:24 2012
@@ -18,15 +18,12 @@
 package org.apache.flume.tools;
 
 import org.apache.flume.VersionAnnotation;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 /*
  * This class provides version info of Flume NG
  */
 
 public class VersionInfo {
-  private static final Logger LOG = LoggerFactory.getLogger(VersionInfo.class);
 
   private static Package myPackage;
   private static VersionAnnotation version;
@@ -112,7 +109,6 @@ public class VersionInfo {
   }
 
   public static void main(String[] args) {
-    LOG.debug("version: "+ version);
     System.out.println("Flume " + getVersion());
     System.out.println("Subversion " + getUrl() + " -r " + getRevision());
     System.out.println("Compiled by " + getUser() + " on " + getDate());



Mime
View raw message