On my linux box, I had added

logfacility local0

to ha.cf.

Then added

local0.*                                              /var/log/ha.log

to syslog.conf.

With the setup I have, HA ends up logging its stuff to both /var/log/messages and /var/log/ha.log at the same time...I could clean up the syslog.conf file to solve that problem.

Jeff

Knight, Doug wrote:
Hi All,
Being fairly new to HA, I was wondering if someone could explain the simplest way to configure HA to put all msgs generated by ocf_log to a separate file. Right now, using pretty much out-of-the-box settings, most of my messages are going in boot.log.

Thanks,
Doug
------------------------------------------------------------------------

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission.


_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to