On 8/14/07, matilda matilda <[EMAIL PROTECTED]> wrote:
> Hi Andrew, hi all,
>
> I updated from HA 2.1.0 to HA 2.1.2 (opensuse build) on SLES10 SP1.
> What I found first is, that without changing logd.cf and entry in
> /etc/syslog-ng/syslog-ng.conf
> I only get logging messages from logd and heartbeat where I got messages from
> all
> related processes before:
Alan changed the default log facility to LOG_DAEMON (instead of LOG_LOCAL7).
That is likely to be the change that is affecting you (assuming you
set "use_logd true" in ha.cf).
>
> My logd.cf:
> =====================================================
> debugfile /var/log/ha-debug
> logfile /var/log/ha-log
> logfacility local7
> entity logd
> =====================================================
>
>
> My ha related section in syslog-ng.conf
> ======================================================
> source s_tcp { tcp(port(9999) max-connections(16)); };
> filter f_ha { facility(local7); };
> destination ha_local { file("/var/log/cluster.log" perm(0644)); };
> log { source(src); source(s_tcp); filter(f_ha); destination(ha_local); };
> ======================================================
>
>
> What is going on? What do I have to do to get logging of all components in
> /var/log/ha-debug and /var/log/ha-log?
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems