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.

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

--
Florian Crouzat
_______________________________________________
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