[slf4j-dev] Release of SLF4J version 1.6.5
ceki
ceki at qos.ch
Mon Jun 4 18:22:34 CEST 2012
Hello all,
I am happy to announce the immediate availability of SLF4J version
1.6.5 consisting of minor code and documentation improvements. It should
hit the Maven central repository within the next 24 hours.
The Simple Logging Facade for Java or (SLF4J) serves as a simple
facade or abstraction for various logging frameworks,
e.g. java.util.logging, log4j and logback, allowing the end user to
plug in the desired logging framework at deployment time.
In the absence of a binding on the classpath:
In the 1.6.x series, in the absence of an SLF4J binding, slf4j-api
will default to a no-operation implementation discarding all log
requests. Thus, instead of throwing an exception, SLF4J will emit a
single warning message about the absence of a binding and proceed to
discard all log requests without further protest. In other words,
libraries no longer need to bundle an slf4j binding along with
slf4j-api.jar in order to function out-of-the-box.
Binary compatibility:
Mixing mixing different versions of slf4j-api.jar and SLF4J binding
can cause problems. For example, if you are using slf4j-api-1.6.5.jar,
then you should also use slf4j-simple-1.6.5.jar, using
slf4j-simple-1.5.5.jar will not work.
From the client's perspective all versions of slf4j-api are
compatible. Client code compiled with slf4j-api-N.jar will run
perfectly fine with slf4j-api-M.jar for any N and M. You only need to
ensure that the version of your binding matches that of the
slf4j-api.jar. You do not have to worry about the version of
slf4j-api.jar used by a given dependency in your project. You can
always use any version of slf4j-api.jar, and as long as the version of
slf4j-api.jar and its binding match, you should be fine.
At initialization time, if SLF4J suspects that there may be a api
vs. binding version mismatch problem, it will emit a warning about the
suspected mismatch.
Release notes:
Please refer to the the news page for precise details.
http://www.slf4j.org/news.html
You can download SLF4J, including full source code, class files and
documentation on our download page, shown below.
http://www.slf4j.org/download.html
Announcement mailing list:
You can receive SLF4J related announcements by subscribing to the
SLF4J announce mailing list. To subscribe to QOS.ch announce list,
please visit the following URL.
http://www.qos.ch/mailman/listinfo/announce
Enjoy,
--
Ceki
http://twitter.com/#!/ceki
More information about the slf4j-dev
mailing list