Hi Andrew,<br><br> Thanks for reply.<br> I confirmed it.<br><br>Regards,<br>Tomo<br><br><div class="gmail_quote">2010/11/20 Andrew Beekhof <span dir="ltr"><<a href="mailto:andrew@beekhof.net">andrew@beekhof.net</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Fri, Nov 19, 2010 at 8:48 AM, nozawat <<a href="mailto:nozawat@gmail.com">nozawat@gmail.com</a>> wrote:<br>
> Hi<br>
><br>
> I output log in /var/log/ha.log by the following setting.<br>
> It is not output by /var/log/ha.log when I operate this with a V1 mode.<br>
> In the case of a V1 mode, is not setting enough?<br>
<br>
</div>It should be. Summarizing from mcp/corosync.c<br>
<br>
get_config_opt(config, local_handle, "to_syslog", &value, "on");<br>
get_config_opt(config, local_handle, "syslog_facility", &value, "daemon");<br>
<br>
setenv("HA_logfacility", value?value:"none", 1);<br>
setenv("HA_LOGFACILITY", value?value:"none", 1);<br>
<div class="im"><br>
><br>
> --- /etc/corosync/corosync.conf ---<br>
> service {<br>
> name: pacemaker<br>
> ver: 0<br>
> }<br>
> logging {<br>
> fileline: on<br>
> to_syslog: yes<br>
> syslog_facility: local1<br>
> syslog_priority: debug<br>
> debug: off<br>
> timestamp: on<br>
> }<br>
> -------------------------------<br>
><br>
> --- /etc/syslog.conf ---<br>
> # Corosync + Pacemaker<br>
> local1.* /var/log/ha.log<br>
> -------------------------------<br>
><br>
> Regards,<br>
> Tomo<br>
><br>
><br>
</div><div><div></div><div class="h5">> _______________________________________________<br>
> Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs:<br>
> <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</div></div></blockquote></div><br>