Luciano Resende wrote:
On Mon, Sep 13, 2010 at 3:13 PM, Millies, Sebastian
<[email protected]> wrote:
I'd really be interested in some other views on how to implement logging
in an SCA application. Many people must have implemented something, and
even more at least thought about it ...

-- Sebastian

Have you looked into Scribe ? Not sure if this is too over engineered
to your needs, but it seems others have been playing with it in 2.x

https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/logging-scribe/



Sebastian,

I'm not sure what you meant by distributed logging, as that can cover many different things, but if you need to aggregate log data from a large number of servers, Facebook Scribe is a way to do that. I've been using it for a while and found it pretty good.

The code in /samples/logging-scribe implements a little logging component that application code can use to log to Scribe without having to use the Scribe API directly.

It shouldn't be too difficult to use Scribe from inside the Tuscany runtime as well. I've not looked at this for a while but I think you can plug in your own logger.

... or you could just let Tuscany log to disk, then pipe a tail -f of the log file into scribe... that'll work too :)
--
Jean-Sebastien

Reply via email to