Re: Pax Logger Configuration

2011-07-06 Thread Harald Wellmann
Am 06.07.2011 16:45, schrieb Andreas Pieber: Hey Harald, (2) was already explained here http://ops4j1.jira.com/wiki/display/paxlogging/Configuration; (1) is now too. (@3) I don't think that this will be possible with the current code but I would have to look up this myself. @Niclas and @Guillau

Re: Pax Logger Configuration

2011-07-06 Thread Andreas Pieber
Hey Harald, (2) was already explained here http://ops4j1.jira.com/wiki/display/paxlogging/Configuration; (1) is now too. (@3) I don't think that this will be possible with the current code but I would have to look up this myself. @Niclas and @Guillaume: more detailed information @(3)? Kind regar

Pax Logger Configuration

2011-07-06 Thread Harald Wellmann
I suppose these are FAQs, but I can't find the answer in the Wiki... 1) How do you change the default log level from DEBUG to something else? 2) How do you provide your own fine-grained configuration (like log4.properties)? 3) Does the usual way of setting a system property -Dlog4.configuration

Re: pax logger configuration

2007-05-20 Thread Edward Yakop
Hmm.. >From the LoggingPolicyActivator.java. It seems that you uses admin.createFactoryConfiguration(PAX_PID) What should you have done: admin.getConfiguration(PAX_PID) Regards, Edward Yakop ___ general mailing list general@lists.ops4j.org http://

Re: pax logger configuration

2007-05-20 Thread Pierre Parrend
Hello, so there was some bug somewhere. I have updated from svn, it does not work better. underneath are the services that are available in my felix. Should not there be a bundle from the pax logging suite that uses the org.osgi.service.cm.ConfigurationAdmin ? As attachement you will also fi

Re: pax logger configuration

2007-05-20 Thread Edward Yakop
Hi, Since now it is clear that you're using 0.9.5-SNAPSHOT. I just fixed a bug on the [logging/api/osgi.bundle] where [org.knopflerfish.service.log] package was not exported with provider [paxlogging]. This error caused [pax-logging-service] not to be resolved when it is being ran with equinox. I

Re: pax logger configuration

2007-05-20 Thread Pierre Parrend
Hello, My configuration is the following (I am working on Felix): [ 0] [Active ] [0] System Bundle (0.8.0.incubator) [ 1] [Active ] [1] Apache Felix Shell Service (0.8.0.incubator) [ 2] [Active ] [1] Apache Felix Shell TUI (0.8.0.incubator) [ 3] [Active ] [

Re: pax logger configuration

2007-05-20 Thread Edward Yakop
> It is possible to set a different configuration, or is the code for this > currently not available ? It is possible to set a different configuration. And this feature is implemented. Back to the problem: I assumed that you're running using pax-logging-log4j inside OSGi container (i.e. not unit

Re: pax logger configuration

2007-05-20 Thread Pierre Parrend
Hello, thanks for the information on ConfigurationAdmin. However, the pax logger does not seem to be bounded to it. Actually, the org.apache.log4j.Logger.getLogger() method (bundle 'pax.loggin.log4j') appear to create a org.ops4j.pax.logging.DefaultServiceLog, (bundle pax.logging.api) which doe

Re: pax logger configuration

2007-05-18 Thread Niclas Hedhman
On Friday 18 May 2007 17:49, Pierre Parrend wrote: > I have just updated the pax logger from Subversion on my machine, and it > seems that some stuff have changed. Well, a bit depending on "since when"... > Relative to configuration, there used to be a 'log4j.property' file in the > 'service'

Re: pax logger configuration

2007-05-18 Thread Edward Yakop
> Moreover, on the Wiki there is a paragraph relative to the 'Config Admin > Service'. > What is it ? Which is the bundle that registers it ? It does not appear to be > in > the 'service' one. ConfigurationAdmin service is specified in OSGi compendium specification. Configuration admin serivice i

pax logger configuration

2007-05-18 Thread Pierre Parrend
Hello all, I have just updated the pax logger from Subversion on my machine, and it seems that some stuff have changed. Relative to configuration, there used to be a 'log4j.property' file in the 'service' bundle that enabled to set the policy for the whole installed bundles. Isn't supported a