hastd: error messages in logs are truncated

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Apr 16 06:50:40 UTC 2010


On Sun, Apr 11, 2010 at 04:30:19PM +0300, Mikolaj Golub wrote:
> 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.

Nice catch, again. I committed your patch. Thanks!

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100416/2bfe5d52/attachment.pgp


More information about the freebsd-fs mailing list