Hello Zoltan,
The implementation of log4j-over-slf4j is not complete. Please enter a
bug report at bugzilla.slf4j.org so that log(Priority, Object,
Throwable) can be added. The l7log() methods cannot be added because
they don't have SLF4J equivalents.
BR,
Szel, Zoltan wrote:
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
[email protected] <mailto:[email protected]>
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
dev mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/dev