Enhance the logging fromeventscripts.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 27 Oct 2009 22:07:43 +0000 (09:07 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 27 Oct 2009 22:07:43 +0000 (09:07 +1100)
commit3526bc830dc9b86f1c6afa973fd06591eea240c3
treeb0f405a56599d717cf5dda4951dee171f8ba289a
parent0588b5f9c55b4d539040492484d55d43eef7622f
Enhance the logging fromeventscripts.
When a single script is finished, also log the name of the script, the duration it took and the return status.

In the loop where we signal back to the main daemon that the script finished, do this once every 100ms instead of once every 1 second

(This used to be ctdb commit 6a1f7a7b1b3a0b8f89998db8fdad83bbb4e9b5a5)
ctdb/server/ctdb_tunables.c
ctdb/server/eventscript.c