[syslog-ng]Long messages truncated in 1.5.x branch on Solaris 8

Balazs Scheidler bazsi@balabit.hu
Wed, 3 Jul 2002 13:53:29 +0200


On Wed, Jul 03, 2002 at 01:38:51PM +0200, Andreas Schulze wrote:
> Balazs Scheidler wrote:
> But I'm afraid, that the messages are truncated before they reach
> syslog-ng
> at OS level by the log(7d) driver or the syslog(3) interface.
> 
> Maybe you know, if its possible to work around this problem on Solaris?

It should be doable using an LD_PRELOAD-able shared object, which would
change the implementation of openlog(), closelog() and syslog() functions,
so it either goes to syslog-ng directly (using a pipe or a unix_stream
socket), or sends the message off immediately using udp or tcp.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1