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>
Wed, 18 Aug 2010 02:16:32 +0000 (11:46 +0930)
commit68b3761a0874429b90731741f0531f76dcfbb081
tree007714b89dfc4af03a7244013966febac23912f9
parent08f7f85477610a4916c1ec866aa467b28f1bbec3
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_client.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