camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vcheruvu <v_cher...@hotmail.com>
Subject Re: Camel-quickfix logging
Date Fri, 05 Nov 2010 01:08:58 GMT

Hmm log4j.properties file is weak compared to log4j.xml. The properties file
does not support some advanced configuration options like Filters, custom
ErrorHandlers and a special type of appenders, i.e. AsyncAppender.
ErrorHandlers defines how errors in log4j itself are handled, for example
badly configured appenders. Filters are more interesting. From the available
filters, I think that the level range filter is really missing for property
files.

The log4j filter allows to define that a[n] appender should receive log
messages from Level INFO to WARN. This allows to split log messages across
different logfiles. One for DEBUGGING messages, another for warnings, ...The
property appender only supports a minimum level. If you set it do INFO, you
will receive WARN, ERROR and FATAL messages as well.

Hence I wanted to use log4j.xml for advance feature purposes.

Cheers,
-Vid-
-- 
View this message in context: http://camel.465427.n5.nabble.com/Camel-quickfix-logging-tp3249378p3251115.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message