> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Florian Crouzat
> Sent: Friday, April 20, 2012 12:10 PM
> To: [email protected]
> Subject: Re: [rsyslog] Rsyslog splitting long-lines into multiple
> smaller one
> 
> Le 19/04/2012 15:30, Florian Crouzat a écrit :
> >
> >
> > In the worst case, I'll extract my dynamic log4j pattern in a
> different
> > rsyslog templates per server as %HOSTNAME% would be
> localhost.localdomain.
> 
> Finally, I came to do this.
> 
> Moving the part of the log4j layout that is used by my log analyser to
> know it's jboss logs to my rsyslog template so that even a stacktrace
> has each of it's line prefixed my "host.example.net jboss: at
> java.foo.bar:13" and gets analyzed correctly.
> 
> In my working env, it's a better solution than using your custom log4j
> appender Rainer.

Whatever works best for you :)

> Thanks for your propositions, and confirmation about the limitation of
> UDP rsyslog message size, etc.


I need to correct this. UDP syslog can use at least 4 to 8k without tweaking
and almost 64k with tweaking, as far as syslog the protocol and rsyslog is
involved. It is just the broken log4j syslog append that enforces this
ancient limit. 

Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards

Reply via email to