[
https://issues.apache.org/jira/browse/JAMES-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000223#comment-13000223
]
Felix Knecht commented on JAMES-1149:
-------------------------------------
Your talking about org.apache.james.protocols.smtp.core.fastfail.MockLog ?
Because it's already done this way before:
package org.apache.james.protocols.smtp.core.fastfail;
import org.apache.commons.logging.Log;
public class MockLog implements Log{
public void debug(Object arg0) {
System.out.println(arg0);
}
public void debug(Object arg0, Throwable arg1) {
System.out.println(arg0);
arg1.printStackTrace();
}
public void error(Object arg0) {
System.out.println(arg0);
}
...
> Replace commons-logging with jcl-over-slf4j
> -------------------------------------------
>
> Key: JAMES-1149
> URL: https://issues.apache.org/jira/browse/JAMES-1149
> Project: JAMES Server
> Issue Type: Task
> Affects Versions: 3.0-M2
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 3.0-M3
>
> Attachments: slfj4-imap.patch, slfj4-mailbox.patch,
> slfj4-protocols.patch, slfj4-protocols_1.patch
>
>
> During my expirements with OSGI I noticed all the problems when using
> commons-logging which use some classloader magic. I thinkwe should use
> jcl-over-slf4j to replace it to simplify stuff in the future.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]