title: Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError.
body: <p>I have used <code>xuggle library</code> in my project to trans code the video from <code>mp4 to flv</code>.
  I have used <code>slf4j libraries</code> also to support logging end.</p>
  
  <pre><code>import com.xuggle.mediatool.IMediaReader;
  import com.xuggle.mediatool.IMediaViewer;
  import com.xuggle.mediatool.IMediaWriter;
  import com.xuggle.mediatool.ToolFactory;
  
  public class TranscodingExample {
  
      private static final String inputFilename = "E:\\VIDEO\\Facebook.mp4";
      private static final String outputFilename = "E:\\VIDEO\\Facebook.flv";
  
      public static void main(String[] args) {
  
          // create a media reader
          IMediaReader mediaReader = 
                 ToolFactory.makeReader(inputFilename);
  
          // create a media writer
          IMediaWriter mediaWriter = 
                 ToolFactory.makeWriter(outputFilename, mediaReader);
  
          // add a writer to the reader, to create the output file
          mediaReader.addListener(mediaWriter);
  
          // create a media viewer with stats enabled
          IMediaViewer mediaViewer = ToolFactory.makeViewer(true);
  
          // add a viewer to the reader, to see the decoded media
          mediaReader.addListener(mediaViewer);
  
          // read and decode packets from the source file and
          // and dispatch decoded audio and video to the writer
          while (mediaReader.readPacket() == null) ;
  
      }
  
  }
  </code></pre>
  
  <p>Here I am getting an error </p>
  
  <pre><code>"Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError.". 
  </code></pre>
  
  <p>I have used both jar files as libraries in order to solve logging problems.
  Does any one faced the same problem.If so kindly write suggestion or solution to come out of this mess.
  Thanks in advance. </p>