[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Using of LOCAL7 log facility
From:       "Serge Dubrouski" <sergeyfd () gmail ! com>
Date:       2007-07-20 14:41:57
Message-ID: 868cbbaa0707200741l38e4ae00x99f4c02b9860e916 () mail ! gmail ! com
[Download RAW message or body]

On 7/20/07, Andrew Beekhof <beekhof@gmail.com> wrote:
> the crm does inherit the log settings from ha.cf, however for a number
> of reasons we default to LOCAL7 if no other value is set.
>
> to disable syslog logging completely, put this in ha.cf:
>   logfacility none

Unfortunately this isn't a true statement. I tried to set logfacility
to local6 and then to none. Still messages in boot.log. And setting
lofgacility to none doesn't completely disable syslog logging.

>
>
> On 7/20/07, Serge Dubrouski <sergeyfd@gmail.com> wrote:
> > Just found that Heartbeat code explicitly uses LOCAL7 logfacility for
> > system logging:
> >
> >         cl_log_set_entity(entity);
> >         cl_log_set_facility(LOG_LOCAL7);
> >
> > and so on.
> >
> > On standard Linux distribution ( RedHat at least) LOCAL7 is dedicated
> > for boot processes and is directed to go to boot.log. What was the
> > reason in ignoring the logfacility value from ha.cf and explicitly
> > using LOCAL7?
> >
> > --
> > Serge Dubrouski.
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> >
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>


-- 
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic