geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: logging in trunk
Date Sat, 24 Oct 2009 17:55:59 GMT
This is great!  I could figure out how to proceed here :-)

Could you add instructions to http://cwiki.apache.org/GMOxDEV/osgi-conversion-tips.html 
  and in particular include the exact xml for the maven dependency to  
use for the pax logging?

thanks
david jencks

On Oct 23, 2009, at 11:11 AM, Jarek Gawor wrote:

> Hi,
>
> I cleaned up a little bit of logging dependencies in framework. That
> work is definitely not complete but basic logging should be working
> now. For example, if you want to see logging statements during the
> build from car-maven-plugin just run "mvn install
> -Dorg.ops4j.pax.logging.DefaultServiceLog.level=DEBUG". At runtime (in
> the framework assembly) the messages should also be logged to
> karaf.log file.
>
> When you are converting the plugins please make sure to avoid the
> following dependencies: log4j (bundle or non-bundle), jcl-over-slf4j,
> jul-to-slf4j, slf4j-api, or slf4j-log4j12. The pax-logging-api/service
> should be used instead (at least for now).
>
> Jarek


Mime
View raw message