[Pacemaker] About a process name to output in log.

Andrew Beekhof andrew at beekhof.net
Fri Sep 19 11:50:10 UTC 2014


On 19 Sep 2014, at 5:04 pm, renayama19661014 at ybb.ne.jp wrote:

> Hi All,
> 
> In the log of latest Pacemaker, the name of the lrmd process is output by the name of the pacemaker_remoted process.
> We like that log is output by default as lrmd.

I think you just need: https://github.com/beekhof/pacemaker/commit/ad083a8

> These names seem to be changed on a macro.
> However, the option which even "configure" command changes this macro to does not seem to exist.
> 
>  * lrmd/Makefile.am
> (snip)
> pacemaker_remoted_CFLAGS= -DSUPPORT_REMOTE
> (snip)
>  * lrmd/main.c
> (snip)
> #if defined(HAVE_GNUTLS_GNUTLS_H) && defined(SUPPORT_REMOTE)
> #  define ENABLE_PCMK_REMOTE
> #endif
> (snip)
> #ifndef ENABLE_PCMK_REMOTE
>     crm_log_preinit("lrmd", argc, argv);
>     crm_set_options(NULL, "[options]", long_options,
>                     "Daemon for controlling services confirming to different standards");
> #else
>     crm_log_preinit("pacemaker_remoted", argc, argv);
>     crm_set_options(NULL, "[options]", long_options,
>                     "Pacemaker Remote daemon for extending pacemaker functionality to remote nodes.");
> #endif
> (snip)
> 
> 
> Please examine the option of the "configure" command to give macro.
> 
> Best Regards,
> Hideo Yamauchi.
> 
> 
> _______________________________________________
> 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/20140919/8c58d140/attachment-0004.sig>


More information about the Pacemaker mailing list