[PATCH 2/2] logging: rework definition of logging subsystems for libraries

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Pablo Neira Ayuso pablo at gnumonks.org
Mon Jul 4 09:02:00 UTC 2011


On 02/07/11 19:54, pablo at gnumonks.org wrote:
> From: Pablo Neira Ayuso <pablo at gnumonks.org>
> 
> This patchs allow to invoke log_init(...) as many times
> as you want. Thus, applications and libraries can register
> their own logging subsystems in runtime.
> 
> The idea consists of splitting the numberspace for applications
> and libraries. From 0 to 64 for applications, from 64 to 255 for
> libraries.

I come up with an idea which would use your approach based on negative
numbers.

I expect to resend a new patch soon.




More information about the OpenBSC mailing list