On 07/02/2008, sub3 <[EMAIL PROTECTED]> wrote: > > I am current logging everything using log4j directly to files on the local > machine. Now that I am using Camel and going across multiple machines, I > would like my logs to remain on each local machine, but anything above > warning to also go to a designated machine. > > I was wondering if anyone did this and what was their approach. > I could do it all directly with log4j & sockets. But why not use > Camel/ActiveMQ. I was wondering if it would be better just to extend the > loggers for this, or to build an appender which would push the messages back > into a topic?
Good idea :) I guess we could write a log4j appender that takes a Camel URI to route to? Folks could even use a Content Based Router if they wanted to etc. -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
