celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjoern Petri <bjoern.pe...@sundevil.de>
Subject Re: [jira] [Commented] (CELIX-184) Suppress warning for ENDPOINT_DESCRIPTOR_READER
Date Wed, 19 Nov 2014 18:41:43 GMT
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.



Mime
View raw message