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: celix_log as log_service-tracker?
Date Wed, 10 Sep 2014 05:51:30 GMT

Good morning Gerrit,

that is also what I had in mind, but from looking at the code 
(celix_log.c) , I don't see that the log_service will ever be used for 
fw_log calls and  was just wondering whether there is a reason for that?!


On 09/10/2014 07:33 AM, Gerrit Binnenmars wrote:
> Hello Bjorn,
> The original idea was that fw_log was used when no log_service is available
> (e.g. the fw_log() calls in the start-up and shutdown of the framework), as
> soon as a log service is available it shall also be used for framework
> logging. Don't know how it is actually implemented right now.
> Gerrit
> On Tue, Sep 9, 2014 at 10:46 PM, Bjoern Petri <bjoern.petri@sundevil.de>
> wrote:
>> Hi everyone,
>> After replacing a bunch of printf's through fw_log calls and integrating
>> the log_writer_syslog bundle, I was wondering why the fw_log isn't actually
>> a serviceTracker to also use the log_service (when available). Is there any
>> reason for that? Wouldn't that make sense?
>> Regards,
>>    Bjoern

View raw message