Hi!
Since there are detailed NEWS[1] available, I'll keep this short: with
many thanks to Miloslav Trmač <mitr(a)redhat.com>, libumberlog 0.3.0 is
out now.
There are a couple of breaking changes in this release, both the API and
the ABI changed, and 0.3.0 is not backwards compatible with earlier
versions in any way. The three most significant breaking changes are:
* The library comes in two variants now: an LD_PRELOAD-able version that
overrides syslog() & friends, and a version one can link against,
which does not override syslog() & co.
* The LOG_UL_NODISCOVER flag was renamed to LOG_UL_NOIMPLICIT
* Instead of bolting the new flags onto ul_openlog(), one must call a
separate, new function: ul_set_log_flags() to set the new flags.
As far as the LD_PRELOAD usage goes, the only change this brings is that
the shared object to LD_PRELOAD is now called
$pkglibdir/libumberlog_preload.so.
For users of the ul_*() family of functions: migrating to
ul_set_log_flags() and LOG_UL_NOIMPLICIT gets the job done.
The other changes - while also important - have significantly less
effect overall, see the NEWS file.
I highly recommend switching to this version, as it also fixes a couple
of bugs, and the new API is the way forward in the future.
As usual, it is available on github, both via git[2], and as a
tarball[3].
[1]:
https://github.com/algernon/libumberlog/blob/master/NEWS
[2]:
git://github.com/algernon/libumberlog.git
[3]:
https://github.com/downloads/algernon/libumberlog/libumberlog-0.3.0.tar.xz
--
|8]