Thanks for replying. But inspite of setting yes/no for use_logd directive, the log is written to system log file. Is it feature to always write log to system log file?
Regards MATSUDA, Daiki 2008/1/22, Lars Marowsky-Bree <[EMAIL PROTECTED]>: > On 2008-01-21T15:37:17, DAIKI MATSUDA <[EMAIL PROTECTED]> wrote: > > > Hi, All. > > > > I encountered odd behaviour for log output. I wrote the config in > > ha.cf following > > logfile /var/log/ha-log > > debugfile /var/log/ha-debug > > #logfacility local0 > > ... > > But, the logs are written to system log file. In ha.cf sample in > > /usr/share/doc/heartbeat-2.1.3 > > # Note on logging: > > # If any of debugfile, logfile and logfacility are defined then they > > # will be used. If debugfile and/or logfile are not defined and > > # logfacility is defined then the respective logging and debug > > # messages will be loged to syslog. If logfacility is not defined > > # then debugfile and logfile will be used to log messges. If > > # logfacility is not defined and debugfile and/or logfile are not > > # defined then defaults will be used for debugfile and logfile as > > # required and messages will be sent there. > > > > In upper statement, I read that if logfile or debugfile directive is > > defined and logfacility is not defined, the log is not written to > > system log file. Is it the bug? If yes, I will try to fix. > > Do you have a use_logd statement as well? In that case, logd takes > precedence. > > > Regards, > Lars > > -- > Teamlead Kernel, SuSE Labs, Research and Development > SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) > "Experience is the name everyone gives to their mistakes." -- Oscar Wilde > > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems