Permalink
Browse files

Binding logger to proper class (thanks, chocolateboy!)

  • Loading branch information...
1 parent b19627f commit 38f3dc724c4027764610883a9ac7f2424f82ae02 @Raptor399 Raptor399 committed Apr 7, 2012
@@ -48,7 +48,7 @@
*/
public class UnbufferedOutputFile implements BufferedOutputFile {
- private static final Logger logger = LoggerFactory.getLogger(BufferedOutputFileImpl.class);
+ private static final Logger logger = LoggerFactory.getLogger(UnbufferedOutputFile.class);
private PipedOutputStream pipedOutputStream;
private PipedInputStream pipedInputStream;
@@ -18,8 +18,6 @@
*/
package net.pms.util;
-import net.pms.encoders.MEncoderVideo;
-
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -28,7 +26,7 @@
* Derived from the mpeg4ip project and the ToNMT tool
*/
public class AVCHeader {
- private static final Logger LOGGER = LoggerFactory.getLogger(MEncoderVideo.class);
+ private static final Logger LOGGER = LoggerFactory.getLogger(AVCHeader.class);
private byte[] buffer;
private int currentBit;
@@ -20,16 +20,14 @@
import java.io.IOException;
-import net.pms.PMS;
-
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class PropertiesUtil {
/**
* Logs messages to all different channels.
*/
- private static final Logger LOGGER = LoggerFactory.getLogger(PMS.class);
+ private static final Logger LOGGER = LoggerFactory.getLogger(PropertiesUtil.class);
/**
* General properties for the PMS project.

0 comments on commit 38f3dc7

Please sign in to comment.