logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396676 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
Date Wed, 10 Oct 2012 16:31:14 GMT
Author: ggregory
Date: Wed Oct 10 16:31:13 2012
New Revision: 1396676

URL: http://svn.apache.org/viewvc?rev=1396676&view=rev
Log:
Use new API.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java?rev=1396676&r1=1396675&r2=1396676&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/SocketServer.java
Wed Oct 10 16:31:13 2012
@@ -67,7 +67,7 @@ public class SocketServer extends Abstra
     public SocketServer(int port) throws IOException {
         server = new ServerSocket(port);
         if (logger == null) {
-            logger = LogManager.getLogger(getClass().getName());
+            logger = LogManager.getLogger(this);
             // TODO: Consider
             // logger = LogManager.getLogger(getClass().getName() + "." + port);
         }



Mime
View raw message