Hello, Recently I introduced a bug which today I fixed, but the whole thing left unpleasant taste. The bug gets excercised in case ha_logd has been setup to log through syslog. The problem is that there are multiple programs logging with different tags (such as heartbeat,cib,crm) whereas syslog allows us to specify a tag only with openlog.
The current solution is to copy the tag to the string which was used with openlog before each syslog(3) call. Not exactly optimal. Another solution I could think of is to do closelog/openlog before every syslog call. Neither this one is a winner. Any other ideas? Cheers, -- Dejan _______________________________________________________ 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/