Great information, thx

> Fair enough, if it works for you.  I just checked the docs again and
> noticed the following - Could it be anything like that involved your
> case?
>
> "The internal log factory will delegate logging information to one of
> the following log implementations:
>    1. Jakarta Commons Logging (JCL – NOT Job Control Language!)
>    2. Log4J
>    3. JDK logging (JRE 1.4 or greater required)
>
> The logging solution chosen is based on a runtime introspection by the
> internal iBATIS log factory.  The iBATIS log factory will use the
> first logging implementation it finds (implementations are searched in
> the above order).  If iBATIS finds none of the above implementations,
> then logging will be disabled.Many environments ship JCL as a part of
> the application server classpath (good examples include Tomcat and
> WebSphere).  It is important to know that in such environments, iBATIS
> will use JCL as the logging implementation.  In an environment like
> WebSPhere this will mean that your Log4J configuration will be ignored
> because WebSphere supplies its own proprietary implementation of JCL.
> This can be very frustrating because it will appear that iBATIS is
> ignoring your Log4J configuration (in fact, iBATIS is ignoring your
> Log4J configuration because iBATIS will use JCL in such environments).
>
> If your application is running in an environment where JCL is included
> in the classpath but you would rather use one of the other logging
> implementations you can select a different logging implementation by
> calling one of the following methods (this is only available in iBATIS
> version 2.2.0 and later):
>   com.ibatis.common.logging.LogFactory.selectLog4JLogging();
>   com.ibatis.common.logging.LogFactory.selectJavaLogging();
>
> If you choose to call one of these methods, you should do so before
> calling any other iBATIS method. Also, these methods will only switch
> to the requested log implementation if that implementation is
> available
> on the runtime classpath. "
>
> /Gwyn
> --
> Download Wicket 1.2.3 now! - http://wicketframework.org
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to