Hi, Jiaju There is a request about the log of booth.
I want you to change a log level when a ticket expires into "info" from "debug". I think that this log is important since it means what occurred. And I want you to add the following information to log. * Which ticket is it? * Who had a ticket? For example, I want you to use the following forms. info: lease expires ... owner [0] ticket [ticketA] diff --git a/src/paxos_lease.c b/src/paxos_lease.c index 74b41b1..8681ecd 100644 --- a/src/paxos_lease.c +++ b/src/paxos_lease.c @@ -153,7 +153,8 @@ static void lease_expires(unsigned long data) pl_handle_t plh = (pl_handle_t)pl; struct paxos_lease_result plr; - log_debug("lease expires ..."); + log_info("lease expires ... owner [%d] ticket [%s]", + pl->owner, pl->name); pl->owner = -1; strcpy(plr.name, pl->name); plr.owner = -1; Regards, Yusuke -- ---------------------------------------- METRO SYSTEMS CO., LTD Yusuke Iida Mail: yusk.i...@gmail.com ---------------------------------------- _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org