ctdb-logging: Replace logd code with a basic syslog(3) implementation
commit29745543566ef66c1f2972fd5cd68e17ddf4de4f
authorMartin Schwenke <martin@meltin.net>
Fri, 8 Aug 2014 10:57:05 +0000 (8 20:57 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 28 Oct 2014 04:42:04 +0000 (28 05:42 +0100)
tree154c236c599b6c0ffc98eb33a6f47d79cdb8377b
parent38c8e15690331c4798f9caf3be6a44251d3db809
ctdb-logging: Replace logd code with a basic syslog(3) implementation

It is much simpler for most cases to have a syslog backend that
doesn't need a separate CTDB-specific logging daemon.  This loses the
lossy, non-blocking mode provided by logd.  However, a corresponding
feature with a completely different implemention (not requiring an
extra daemon) will be re-added into the syslog backend.  In an ideal
world the new implementation would be added first but unfortunately
that is hard to do because the logd code is hooked in at more than one
place.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/include/ctdb_private.h
ctdb/server/ctdb_daemon.c
ctdb/server/ctdb_logging_syslog.c
ctdb/server/ctdbd.c