Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Using log4j with LogService

On Tue, Mar 18, 2008 at 3:49 AM, Srijith Kochunni <ksrijith@xxxxxxxxxx> wrote:
>
> Thanks for the quick reply. Yes I can use the LogReader Service and then
> direct it to log4j.

Have you looked at PAX logging?

http://wiki.ops4j.org/confluence/display/ops4j/Pax+Logging

That allows you to have an OSGi LogService implementation that picks
up messages and forwards them to the back-end logger of your choice,
including log4j. And because it exports logging packages, clients can
transparently use existing log4j logging code -> PAX logging -> log4j
at the back end.

Alex


Back to the top