[LOGBack-dev] svn commit: r485 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net
noreply.seb at qos.ch
noreply.seb at qos.ch
Thu Aug 24 16:26:26 CEST 2006
Author: seb
Date: Thu Aug 24 16:26:25 2006
New Revision: 485
Added:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SocketAppenderTestApp.java
- copied, changed from r483, logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SocketAppenderTest.java
Removed:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SocketAppenderTest.java
Modified:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SMTPAppenderTest.java
Log:
renamed SocketAppenderTest to SockerAppenderTestApp to free the space for a real SocketAppenderTest unit test class
Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SMTPAppenderTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SMTPAppenderTest.java (original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SMTPAppenderTest.java Thu Aug 24 16:26:25 2006
@@ -12,7 +12,7 @@
public static void main(String[] args) {
- Logger logger = (Logger) LoggerFactory.getLogger(SocketAppenderTest.class);
+ Logger logger = (Logger) LoggerFactory.getLogger(SocketAppenderTestApp.class);
LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
SMTPAppender appender = new SMTPAppender();
appender.setContext(lc);
Copied: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SocketAppenderTestApp.java (from r483, logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SocketAppenderTest.java)
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SocketAppenderTest.java (original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/SocketAppenderTestApp.java Thu Aug 24 16:26:25 2006
@@ -7,11 +7,11 @@
import ch.qos.logback.core.util.StatusPrinter;
-public class SocketAppenderTest {
+public class SocketAppenderTestApp {
public static void main(String[] args) {
- Logger logger = (Logger) LoggerFactory.getLogger(SocketAppenderTest.class);
+ Logger logger = (Logger) LoggerFactory.getLogger(SocketAppenderTestApp.class);
LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
SocketAppender appender = new SocketAppender("localhost", 4560);
appender.setContext(lc);
More information about the logback-dev
mailing list