[PATCH] VTY enable then write crashed gproxy; this patch fixes it.

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/.

Holger Hans Peter Freyther holger at freyther.de
Sun Mar 3 17:22:58 UTC 2013


On Sun, Mar 03, 2013 at 01:50:27PM +0100, Harald Welte wrote:

> One idea might be to have another member of the struct that allows them
> to be globally disabled/invisible.  This way the SGSN startup code could
> specify which log categories are actually used, and the VTY strings
> would be generated only for that sub-set of categories.

We are currently using a uint8_t for 'enabled' in the logging category
struct. We could use some bits for SYS_ENABLED/SYS_DISABLED to either
disable (my preference) or enable categories. The logging_vty.c code could
take this into account. The danger is that we disable something that should
be enabled.




More information about the OpenBSC mailing list