Re: Camel-quickfix logging

2010-11-10 Thread Stephen Bate
Vid and Claus, QuickFIX/J currently loads the settings file by itself. The SessionSettings class interface isn't a great fit for direct usage in an IoC framework but we could investigate some type of adapter (e.g., a Spring factory bean) that would allow it to be configured and injected into the c

Re: Camel-quickfix logging

2010-11-09 Thread Claus Ibsen
What if QuickFix allows IoC for its configuration. Then you have a much wider choice. I don't know if QuickFix mandates and loads the config file entirely by itself. On Tue, Nov 9, 2010 at 11:31 PM, vcheruvu wrote: > > Camel Riders, > > Any thoughts to my second question on utilizing Camel prop

Re: Camel-quickfix logging

2010-11-09 Thread vcheruvu
Camel Riders, Any thoughts to my second question on utilizing Camel property placeholder for Quickfixj component's config files.I believe it will simplify config file management and centralize all the environment specific values. Kind regards, -Vid- -- View this message in context: http://

Re: Camel-quickfix logging

2010-11-09 Thread Stephen Bate
It's already committed to the trunk. The issue number is CAMEL-3318. To use the updated component, just put SLF4J settings in your QFJ settings file and the component will automatically create the SLF4JLogFactory. You'll also need the slf4j-log4j12-*.jar bindings in your classpath if you're using l

Re: Camel-quickfix logging

2010-11-08 Thread vcheruvu
Thanks Steve. I look forward to your new patch. what is the issue link for this patch , so that i can have look at the changes that you will promote this weekend. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-quickfix-logging-tp3249378p3256092.html Sent from the Camel

Re: Camel-quickfix logging

2010-11-05 Thread Stephen Bate
Hello Vid, Unfortunately, the SLFJ support in the QuickFIX/J component was somehow forgotten. It currently supports the ScreenLog, FileLog and JdbcLog. I'll submit a patch this weekend to provide support for the SLFJLog and for custom log (and message store) implementations. Regards, Steve On

Re: Camel-quickfix logging

2010-11-05 Thread Christian Müller
Than maybe this page is helpful for you: http://wiki.apache.org/logging-log4j/Log4jXmlFormat Christian

Re: Camel-quickfix logging

2010-11-04 Thread vcheruvu
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

Re: Camel-quickfix logging

2010-11-04 Thread Christian Müller
Hello Vid! I think this is a question for the Log4J mailing list. They can answer this question better than we... However, if it's possible for you to use a property file for your log4j configuration (that's the way Camel configure log4j), you will find many samples in the Camel unit tests like th