[Pacemaker] [PATCH] Downgrade probe log message for promoted ms resources

Andrew Beekhof andrew at beekhof.net
Sun Jan 12 16:39:47 EST 2014


Fair enough.  Pull request?

On 12 Jan 2014, at 8:29 pm, Vladislav Bogdanov <bubble at hoster-ok.com> wrote:

> Hi,
> 
> This is the only one message I see in logs in otherwise static cluster
> (with rechecks enabled), probably it is good idea to downgrade it to info.
> 
> diff --git a/lib/pengine/unpack.c b/lib/pengine/unpack.c
> index 97e114f..6dbcf19 100644
> --- a/lib/pengine/unpack.c
> +++ b/lib/pengine/unpack.c
> @@ -2515,7 +2515,7 @@ determine_op_status(
>         case PCMK_OCF_RUNNING_MASTER:
>             if (is_probe) {
>                 result = PCMK_LRM_OP_DONE;
> -                crm_notice("Operation %s found resource %s active in master mode on %s",
> +                pe_rsc_info(rsc, "Operation %s found resource %s active in master mode on %s",
>                            task, rsc->id, node->details->uname);
> 
>             } else if (target_rc == rc) {
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140113/c35764d9/attachment-0003.sig>


More information about the Pacemaker mailing list