I just installed pas-logging 1.5.0.
I got this error when starting felix:
Unresolved constraint in bundle org.ops4j.pax.logging.pax-logging-service
[8]: Unable to resolve 8.0: missing requirement [8.0] package;
(&(package=org.apache.avalon.framework.logger)(version>=4.3.0))

so I have to make these api installed, right?

On Wed, Sep 8, 2010 at 1:37 PM, Peter Donald <[email protected]> wrote:

> > I know that, it still require a lot of logging bundle installed,
>
> As far as I am aware there only needs to be one bundle installed.
>
> org.ops4j.pax.logging:pax-logging-api:jar:1.3.0 if you want to support
> logging from the following apis:
> * Log4J driving the backend implementation.
> * Log4J API supported.
> * Jakarta Commons Logging API supported.
> * JDK Logging API support.
> * Avalon Logger API support.
> * SLF4J API support.
> * Knopflerfish Log service support.
> * Tomcat Juli API support.
>
> To also route the OSGI Compendium Logging interface then you also need
> to install 'org.ops4j.pax.logging:pax-logging-service:jar:1.3.0' and a
> compendium jar I suppose (depending on what this one exports?).
>
> > and log4j is really not osgi friendly
>
> That may be so but it has a hell of a lot of appenders already
> provided for you. You can choose to use whatever API you want from
> above list to interact with Pax-Logging
>
> --
> Cheers,
>
> Peter Donald
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to