On 2014-11-19 13:06, Alexander Broekhuis wrote:
Op Wed Nov 19 2014 at 1:36:25 AM schreef Björn Petri <
bjoern.pe...@sundevil.de>:

Hi,

I am not sure whether we should add dependencies where actually not needed.


I agree.


But we could at least change the code to use the log_service if available.


I agree as well. In your log_helper you print the messages to standard out
if there is no logger available. I think this should be made optional.

Typically when having a dependency to a log_service in OSGi, when it is not there, logging is just ignored. I don't mind the helper printing it, but as this issue shows, in some cases it is just an annoyance when it is done.


Good point - I will just add a small property which can be set to enable
stdout-printing as fallback.


Reply via email to