Branch: refs/heads/master
Home:
https://github.com/ClusterLabs/libqb
Commit: 642f74de61987ddf7672ddfcff1303f4b70ce47b
https://github.com/ClusterLabs/libqb/commit/642f74de61987ddf7672ddfcff130...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-18 (Thu, 18 Feb 2016)
Changed paths:
M configure.ac
M include/qb/qblog.h
M lib/log.c
M tests/Makefile.am
A tests/_syslog_override.c
A tests/_syslog_override.h
M tests/check_log.c
Log Message:
-----------
Feature: allow changing the identifier for syslog (+tests)
Original "qb_log_ctl" interface had to be extended for passing read-only
strings (new parameter), resulting in new "qb_log_ctl2" function, which
is what qb_log_ctl calls into with the new parameter set to NULL.
This ensures backward compatibility.
A new QB_LOG_CONF_IDENT configuration directive for the mentioned
interface is added with a goal to set new internal identifier
that is, notably, used for syslog sink. This allows for switching
the identification without a need to reinitialize logging subsystem,
akin to changing target logging facility.
Also a brand new concept of testing syslog sink in particular is
introduced (finally). During initial trial&error stage, it used
LD_PRELOAD hack but it seems that libtool is sophisticated enough
that no such extra intervention is needed and the desired symbol
resolution Just Works (tm). However, the technique is highly
non-portable (there is even a warning about that from libtool,
which is partially on purpose as the _syslog_override.so should
rather be explicit it is by no mean a regular library) and hence
the syslog tests have to be enabled with explicit
./configure --enable-syslog-tests
rather than possibly break on untested platforms (far too many).
The concept can be extended upon, but initially, just the new
feature is being tested.
Post-review: thanks Chrissie for a suggestion how to deal with
extract-arg-and-forget in a less intrusive way (no defines).
Commit: 0fc27575464afb585a7f0a569f6ec48c24a196d0
https://github.com/ClusterLabs/libqb/commit/0fc27575464afb585a7f0a569f6ec...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-18 (Thu, 18 Feb 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
CI: .travis.yml cosmetics
Commit: fa73c21ae4a743fc8c45157e30642384236fded2
https://github.com/ClusterLabs/libqb/commit/fa73c21ae4a743fc8c45157e30642...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-18 (Thu, 18 Feb 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
CI: enable recently added syslog-tests in .travis.yml
Commit: 7b10be740197f6f027e440dfd54394044708f590
https://github.com/ClusterLabs/libqb/commit/7b10be740197f6f027e440dfd5439...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-18 (Thu, 18 Feb 2016)
Changed paths:
M .travis.yml
Log Message:
-----------
CI: restore travis notifications, IRC this time around
While quarterback [dash] devel [at] lists [dot] fedorahosted [dot] org,
original notification target and development ML seems long gone (without
archives preserved!), let's use #clusterlabs-dev at freenode IRC
network. This is in-line with the purpose of the channel and it's what
clufter, crmsh and hawk seem to be currently using.
Commit: c242bada46672a372058495634ff97b55dc1039f
https://github.com/ClusterLabs/libqb/commit/c242bada46672a372058495634ff9...
Author: Chrissie Caulfield <ccaulfie(a)redhat.com>
Date: 2016-02-18 (Thu, 18 Feb 2016)
Changed paths:
M .travis.yml
M configure.ac
M include/qb/qblog.h
M lib/log.c
M tests/Makefile.am
A tests/_syslog_override.c
A tests/_syslog_override.h
M tests/check_log.c
Log Message:
-----------
Merge pull request #177 from jnpkrn/changing-syslog-identifier-nicer
Changing syslog identifier + testing syslog, preferred edition
Compare:
https://github.com/ClusterLabs/libqb/compare/c4c4ca846462...c242bada4667