Re: celix_log as log_service-tracker?

2014-09-09 Thread Marcel Offermans
Hello Bjoern, Disclaimer: I did not look at the current codebase, but from your mail a assume that the framework currently logs to some internal log component (that maybe writes to stdout or a log file) and you are asking if it is a good idea to redirect log information to the actual log servic

Re: celix_log as log_service-tracker?

2014-09-09 Thread Bjoern Petri
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?! Regards, Björn On 09/10/2014 07:33 AM, Gerrit Binnenmars wr

Re: celix_log as log_service-tracker?

2014-09-09 Thread Gerrit Binnenmars
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.

celix_log as log_service-tracker?

2014-09-09 Thread Bjoern Petri
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,

Re: coding guidelines

2014-09-09 Thread Bjoern Petri
On 09/02/2014 08:33 PM, Pepijn Noltes wrote: [...] For example, the Apache httpd code styleguide https://httpd.apache.org/dev/styleguide.html could be used by us as well? What do you think? I do follow the Eclipse K&R style with one change, instead of tabs I use spaces. I do know most C/C++