Re: Question regarding logging facilitys in OSGi environments

2012-08-27 Thread bebrooks
On 8/18/2012 Oliver Zemann wrote: > So my question is: is there a simple tutorial or example how logging in apache felix works with pax logging (i guess this is the "most" advanced as they provide all kind of logging backend APIs) or another simple logging facility which will "just" run out of t

Re: Question regarding logging facilitys in OSGi environments

2012-08-22 Thread Claudio Corsi
>Subject: Re: Question regarding logging facilitys in OSGi environments > >Hi Oliver, > >Looking at other docs about Pax Logging [1] and there source code it >appears that only way to configure the logging level is through Config >Admin. You would need to pass the log4j properties a

Re: Question regarding logging facilitys in OSGi environments

2012-08-19 Thread Chetan Mehrotra
Hi Oliver, Looking at other docs about Pax Logging [1] and there source code it appears that only way to configure the logging level is through Config Admin. You would need to pass the log4j properties as part of "org.ops4j.pax.logging" PID. This would then be picked by Pax Logging and would be us

Re: Question regarding logging facilitys in OSGi environments

2012-08-19 Thread Oliver Zemann
Hi Chetan I tried it but some settings are confusing me eg. the Manifest.MF on [1] open the bracket with [ and close it with ). The whole line(s) are not common in a Manifest.MF, i just found that the Import-Package defines what to include, not which version, and not what provider or a mandato

Question regarding logging facilitys in OSGi environments

2012-08-18 Thread Oliver Zemann
Hi I am using Apache Felix with the OSGi'd Apache HTTPClient and HTTPCore, which depend on Apache Commons Logging. The first problem i had was that there is no Apache Commons Logging OSGi Bundle, so i just took pax logging into my bundle directory which "solved" that problem. But now i want