peter royal wrote:
On Jul 12, 2006, at 3:34 PM, Norman Maurer wrote:
anyone had get it to work to get the slf4j logs logged with avalon ? I
know there is a wrapper. If it works like aspected we will maybe switch
to  slfj for jSPF ..

You'll probably want to make a wrapper similar to how commons-logging works with Avalon.

I found a wrapper that allow you to provide an Avalon Logger implemented over commons-logging but now viceversa.

The fact is that we have an AvalonLogger instance and we want the library to use that specific instance: is it possible?

Do we have to write a static registry of avalon loggers associated with library instances and have the slf facade implementation look up this registry for each call to getLogger() ?

With that said, if you're thinking of MINA, I've been pondering pulling out SLF4J and having our own abstraction, as others have wondered why we're not using JCL (and I'm not keen on that for its warts, at least as a requirement in the core)

-pete

I think that removing slf4j in favor of jcl makes no sense.
I really like the Avalon Logger way to manage loggers via DI as any other service and I don't understand why most logging libraries works with static factories.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to