[slf4j-user] java.lang.NoSuchFieldError: name @org.slf4j.impl.SimpleLogger
listid at qos.ch
Fri Sep 26 15:50:23 CEST 2008
Thorbjørn Ravn Andersen wrote:
> Ceki Gulcu skrev:
>> Good idea. Do you have an implementation in mind?
> Nothing advanced.
> The API calls a new method in the backend with the version string which
> the backend may veto, and the backend calls a new method in the API
> which the api may veto.
I was thinking more in terms of a warning. The LoggerFactory (in slf4j-api)
checks whether the binding's version in (StaticLoggerBinder) matched the
expected version number, and if there is mismatch prints a warning message, plus
a link to a URL explaining the problem.
This should help users without potentially causing further disruption.
Logback: The reliable, generic, fast and flexible logging framework for Java.
More information about the slf4j-user