Le 01/05/2012 00:48, Tom Bartos a écrit :


I was able to configure a decoder for the JBOSS single line record
entries but the Java Exceptions are variable content and variable number
of lines...

I had the same issues...

My only solution has been to use a syslog log4j appender so that jboss logs through syslog, and to recreate a pattern that looks OK using rsyslog.conf, such as:

$template jbossFormat,"%timegenerated% host.example.com jboss: %msg%\n"
local2.* /var/log/jboss/server.log;jbossFormat

Using this, whatever is logged: multiline, stacktrace, xml and regular logs, they all can be easily decoded (no more Unknown problems in the system for each stacktrace line)

Hope it helps.

--
Cheers,
Florian Crouzat

Reply via email to