Raaaaah!! Thanks a lot. I've wasted my morning on that trick.

But have a look at my conf:

# provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

# provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514

$MaxMessageSize 6k

And please tell me why MaxMessageSize was applied to imudp despite being 
defined after the modload ?


Le mardi 1 juin 2010, Rainer Gerhards a écrit :
> $MaxMesssageSize must be at the TOP of rsyslog.conf, at least before
> loading imtcp.
>
> Rainer
>
> > -----Original Message-----
> > From: [email protected] [mailto:rsyslog-
> > [email protected]] On Behalf Of Christophe THIESSET
> > Sent: Tuesday, June 01, 2010 12:28 PM
> > To: [email protected]
> > Subject: [rsyslog] message size limitation with tcp stream
> >
> > My rsyslog is 4.6.2-1 running on debian lenny.
> > Messages larger than 2k received via tcp are constantly truncated.
> > Playing
> > with MaxMessageSize is useless. On the other hand the same messages via
> > udp
> > are properly processed (and follow the MaxMessageSize value).
> >
> > Bug or do I miss something?
> >
> > Best Regards
> >
> > Christophe THIESSET
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com


_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to