ctdb-logging: Refactor logging code
authorAmitay Isaacs <amitay@gmail.com>
Tue, 29 Nov 2016 05:17:23 +0000 (16:17 +1100)
committerMartin Schwenke <martins@samba.org>
Mon, 5 Dec 2016 07:09:22 +0000 (08:09 +0100)
commitc9124a001f5abf7bb577a8f5341da4cc7411ed22
tree0c3a55335ea1bdb14a429b0c5adfd36df25f06ec
parentc54943f8bb1e5d23502cb594d1b16f253cddf722
ctdb-logging: Refactor logging code

This extracts the code from following files:
  - server/ctdb_logging.c
  - server/ctdb_logging_file.c
  - server/ctdb_logging_syslog.c

This is in preparation for each daemon (and some processes) doing
their own loging instead of relying on CTDB.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/common/logging.c
ctdb/common/logging.h
ctdb/wscript