Initialize logger with real name of implementing class.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Mar 2013 11:20:40 +0000 (12:20 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Mar 2013 11:20:40 +0000 (12:20 +0100)
src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java

index fa3a2d8..5106cf2 100644 (file)
@@ -46,7 +46,7 @@ import com.google.common.io.ByteStreams;
 public abstract class ExternalFilter implements Filter {
 
        /** The logger. */
-       private static final Logger logger = Logger.getLogger(ExternalFilter.class.getName());
+       private final Logger logger = Logger.getLogger(getClass().getName());
 
        /** The format of the source. */
        private Format format;