[slf4j-dev] Missing methods in log4j-over-slf4j

Szel, Zoltan Zoli.Szel at MorganStanley.com
Wed Jul 1 16:46:44 CEST 2009


Hi Guys,

Recently I wanted to redirect logging from a vendor app which uses log4j to slf4j, so I tried to use the log4j-over-slf4j bride. Unfortunately the app died with a nosuchmethod error, because it wanted to call the log<http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Category.html#log%28org.apache.log4j.Priority,%20java.lang.Object%29>(Priority<http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Priority.html> priority, java.lang.Object message) method which does not present in the binding.

Also I noticed the following methods are also missing:
 log<http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Category.html#log%28org.apache.log4j.Priority,%20java.lang.Object,%20java.lang.Throwable%29>(Priority<http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Priority.html> priority, java.lang.Object message, java.lang.Throwable t)
l7dlog<http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Category.html#l7dlog%28org.apache.log4j.Priority,%20java.lang.String,%20java.lang.Object%5B%5D,%20java.lang.Throwable%29>(Priority<http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Priority.html> priority, java.lang.String key, java.lang.Object[] params, java.lang.Throwable t)
 l7dlog<http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Category.html#l7dlog%28org.apache.log4j.Priority,%20java.lang.String,%20java.lang.Throwable%29>(Priority<http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Priority.html> priority, java.lang.String key, java.lang.Throwable t)

Is there a reason why these methods are missing?

Thanks for your help in advance!

Regards,
Zoltan Szel
Morgan Stanley | IDEAS Practice Areas
Lechner Odon fasor 8 | Floor 07
Budapest, 1095
Phone: +36 1 881-3978
Zoli.Szel at MorganStanley.com<mailto:Zoli.Szel at MorganStanley.com>

--------------------------------------------------------------------------
NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-dev/attachments/20090701/4d01b0df/attachment.htm>


More information about the slf4j-dev mailing list