Hello Mike,

Don't forget to set the felix property "ds.loglevel=debug"
This property is directly used by SCR when logging debug traces.

/pierre

Stuart McCulloch wrote:
2009/3/21 Michael Greifeneder <[email protected]>

Hello,
I use declarative services with bundle org.apache.felix.scr

Is there an option to enable logging messages for errors in a XML component
description file like missing classes or methods during startup of a
bundle?
Maybe I should switch to SCR plugin, to avoid simple typing errors, but it
would be useful to know the specific error anyhow.

I have already set property felix.log.level=4


Hi Mike,

Felix (the person, not the framework ;) recently added more logs to SCR

  http://issues.apache.org/jira/browse/FELIX-639

The extra logs will be in SCR 1.0.8 which has not yet been released,
but you could try the latest snapshot and see if that works for you:


http://people.apache.org/repo/m2-snapshot-repository/org/apache/felix/org.apache.felix.scr/1.0.7-SNAPSHOT/

HTH

Thanks,
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





Reply via email to