You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by Bjoern Petri <bj...@sundevil.de> on 2014/11/19 19:41:43 UTC

Re: [jira] [Commented] (CELIX-184) Suppress warning for ENDPOINT_DESCRIPTOR_READER

On 2014-11-19 13:06, Alexander Broekhuis wrote:
> Op Wed Nov 19 2014 at 1:36:25 AM schreef Björn Petri <
> bjoern.petri@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.