You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2011/04/21 08:03:25 UTC

svn commit: r1095602 - in /james/mailbox-integration-tester/trunk: pom.xml src/main/java/org/apache/james/imap/tester/ImapHostSystem.java

Author: norman
Date: Thu Apr 21 06:03:25 2011
New Revision: 1095602

URL: http://svn.apache.org/viewvc?rev=1095602&view=rev
Log:
Log everything so we at least see the stacktraces if necessary

Modified:
    james/mailbox-integration-tester/trunk/pom.xml
    james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java

Modified: james/mailbox-integration-tester/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/pom.xml?rev=1095602&r1=1095601&r2=1095602&view=diff
==============================================================================
--- james/mailbox-integration-tester/trunk/pom.xml (original)
+++ james/mailbox-integration-tester/trunk/pom.xml Thu Apr 21 06:03:25 2011
@@ -174,9 +174,8 @@
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-log4j12</artifactId>
+            <artifactId>slf4j-simple</artifactId>
             <version>1.6.1</version>
-            <scope>test</scope>
         </dependency>
     </dependencies>
 

Modified: james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java
URL: http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java?rev=1095602&r1=1095601&r2=1095602&view=diff
==============================================================================
--- james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java (original)
+++ james/mailbox-integration-tester/trunk/src/main/java/org/apache/james/imap/tester/ImapHostSystem.java Thu Apr 21 06:03:25 2011
@@ -35,6 +35,7 @@ import org.apache.james.imap.encode.Imap
 import org.apache.james.imap.main.ImapRequestStreamHandler;
 import org.apache.james.imap.tester.base.HostSystem;
 import org.apache.james.mailbox.MailboxSession.User;
+import org.slf4j.LoggerFactory;
 
 public abstract class ImapHostSystem implements HostSystem {
 
@@ -114,7 +115,7 @@ public abstract class ImapHostSystem imp
             out = new ByteBufferOutputStream(continuation);
             in = new ByteBufferInputStream();
             handler = new ImapRequestStreamHandler(decoder, processor, encoder);
-            session = new ImapSessionImpl(new SilentLog());
+            session = new ImapSessionImpl(LoggerFactory.getLogger("sessionLog"));
         }
 
         public String readLine() throws Exception {



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org