Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

hastd: error messages in logs are truncated

0 views
Skip to first unread message

Mikolaj Golub

unread,
Apr 11, 2010, 9:30:19 AM4/11/10
to freeb...@freebsd.org
Hi,

I have noticed that hastd truncates error messages writing to syslog, like
below:

Apr 10 22:32:56 hastb hastd: [storage] (secondary) Unable to create control sockets be: Too many open files
Apr 11 13:24:38 hastb hastd: [storage] (primary) Unable to conn: Host is down.
Apr 11 13:24:43 hastb hastd: [storage] (primary) Unable to conn: Connection refused.
Apr 11 16:11:42 hastb hastd: [storage] (primary) Unable to : Socket is not connected.

This is due to the bug in pjdlogv_common(), see the attached patch.

--
Mikolaj Golub

pjdlog.c.pjdlogv_common.patch
0 new messages