logging: give a unique logging name to each forked child.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Jul 2010 09:59:09 +0000 (19:29 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Jul 2010 05:29:59 +0000 (14:59 +0930)
commitb5ff69c2f7437ddb66697688c935d6f7332b858d
tree7b731f99b14c98101a0df505fc903feeac538fba
parentd54bf6bf7ccbf601a059632f0696fce54c13add3
logging: give a unique logging name to each forked child.

This means we can distinguish which child is logging, esp. via syslog where we have no pid.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
15 files changed:
client/ctdb_client.c
common/ctdb_logging.c
include/ctdb.h
lib/util/debug.c
lib/util/debug.h
server/ctdb_freeze.c
server/ctdb_lockwait.c
server/ctdb_logging.c
server/ctdb_monitor.c
server/ctdb_persistent.c
server/ctdb_recover.c
server/ctdb_recoverd.c
server/ctdb_traverse.c
server/ctdb_vacuum.c
server/eventscript.c