camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Using Camel & Log4j on Multiple Machines
Date Thu, 07 Feb 2008 15:32:44 GMT
On 07/02/2008, sub3 <> 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.


Open Source Integration

View raw message