Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed accidental SLF4J dependencies.

  • Loading branch information...
commit 7434294c4cf44a386643ad6c55d2e4a719a4082d 1 parent 98e035a
Chris K Wensel authored
2  CHANGES.txt
@@ -2,6 +2,8 @@ Cascading Change Log
2 2
 
3 3
 1.2.5 (unreleased)
4 4
 
  5
+  Removed accidental SLF4J dependencies.
  6
+
5 7
   Fixed bug where ISE was thrown if c.f.Flow#stop() was called immediately after #start().
6 8
 
7 9
 1.2.4
9  src/core/cascading/tap/hadoop/MultiInputSplit.java
@@ -34,13 +34,12 @@
34 34
 import org.apache.hadoop.mapred.JobConf;
35 35
 import org.apache.hadoop.mapred.JobConfigurable;
36 36
 import org.apache.hadoop.util.ReflectionUtils;
37  
-import org.slf4j.Logger;
38  
-import org.slf4j.LoggerFactory;
  37
+import org.apache.log4j.Logger;
39 38
 
40 39
 /** Class MultiInputSplit is used by MultiInputFormat */
41 40
 public class MultiInputSplit implements InputSplit, JobConfigurable
42 41
   {
43  
-  private static final Logger LOG = LoggerFactory.getLogger( MultiInputSplit.class );
  42
+  private static final Logger LOG = Logger.getLogger( MultiInputSplit.class );
44 43
 
45 44
   /** Field jobConf */
46 45
   private transient JobConf jobConf;
@@ -134,7 +133,9 @@ public void readFields( DataInput in ) throws IOException
134 133
       if( path != null )
135 134
         {
136 135
         jobConf.set( "cascading.source.path", path.toString() );
137  
-        LOG.info( "current split input path: {}", path.toString() );
  136
+
  137
+        if( LOG.isInfoEnabled() )
  138
+          LOG.info( "current split input path: " + path.toString() );
138 139
         }
139 140
       }
140 141
     }

0 notes on commit 7434294

Please sign in to comment.
Something went wrong with that request. Please try again.