logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1418478 - /logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java
Date Fri, 07 Dec 2012 21:14:27 GMT
Author: ggregory
Date: Fri Dec  7 21:14:26 2012
New Revision: 1418478

URL: http://svn.apache.org/viewvc?rev=1418478&view=rev
Log:
Better ivar name.

Modified:
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java?rev=1418478&r1=1418477&r2=1418478&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java
Fri Dec  7 21:14:26 2012
@@ -57,8 +57,8 @@ public class SocketAppenderTest {
     private static TCPSocketServer tcp;
     private static UDPSocketServer udp;
 
-    LoggerContext ctx = (LoggerContext) LogManager.getContext();
-    Logger root = ctx.getLogger("SocketAppenderTest");
+    LoggerContext context = (LoggerContext) LogManager.getContext();
+    Logger root = context.getLogger("SocketAppenderTest");
 
     private static int tcpCount = 0;
     private static int udpCount = 0;



Mime
View raw message