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)
commit9fbb191b78a0cef008166fbc2bdad454735b8e1c
treec016891d655a2313e5421b1d44e06e297b695259
parent1a009aff73cd3fa0e9653c35581283bd4de614e3
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>
(This used to be ctdb commit 68b3761a0874429b90731741f0531f76dcfbb081)
15 files changed:
ctdb/client/ctdb_client.c
ctdb/common/ctdb_logging.c
ctdb/include/ctdb_client.h
ctdb/lib/util/debug.c
ctdb/lib/util/debug.h
ctdb/server/ctdb_freeze.c
ctdb/server/ctdb_lockwait.c
ctdb/server/ctdb_logging.c
ctdb/server/ctdb_monitor.c
ctdb/server/ctdb_persistent.c
ctdb/server/ctdb_recover.c
ctdb/server/ctdb_recoverd.c
ctdb/server/ctdb_traverse.c
ctdb/server/ctdb_vacuum.c
ctdb/server/eventscript.c