transceiver: use log level cache

This uses the newly added log level caching in libosmocore, which
prevents lock contention during the massive amount of usually disabled
but concurrent (threads) log statements.

Depends: libosmocore.git I539872fc9e3c50b407e6bc388f1e091fa2c826c3
Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
This commit is contained in:
Eric Wild
2024-03-22 11:20:54 +01:00
committed by Hoernchen
parent c5f623f966
commit 75cf9254a3
2 changed files with 2 additions and 0 deletions

View File

@@ -0,0 +1 @@
libosmocore > 1.9.2 requires log_cache_enable call

View File

@@ -645,6 +645,7 @@ int main(int argc, char *argv[])
osmo_init_logging2(tall_trx_ctx, &log_info);
log_enable_multithread();
log_cache_enable();
osmo_stats_init(tall_trx_ctx);
vty_init(&g_vty_info);
logging_vty_add_cmds();