You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Trustin Lee <tr...@gmail.com> on 2006/08/03 08:12:55 UTC

Re: Logging pains again.

On 6/29/06, Samuel Doyle <sd...@yahoo.com> wrote:
>
> Anyone see this before? I'm using nlog4j-1.2.25
>
> Exception breakpoint occurred at line 145 of SessionLog.java.
> java.lang.ClassCastException: org.apache.log4j.Logger


It's a known incompatibility problem between the lastest version of NLog4J
and Log4J.  Ceki created SLF4J-Log4J package to avoid this problem.  By
using it, you can still keep the compatibility with Log4J.  Of course,
SLF4J-Log4J is a bridge to the original Log4J, so you'll have to put the
original Log4J JAR file to the classpath, too.

http://www.ibiblio.org/maven2/org/slf4j/

HTH,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6