laforge submitted this change.
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
---
M TODO-RELEASE
M Transceiver52M/osmo-trx.cpp
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/TODO-RELEASE b/TODO-RELEASE
index e69de29..1011784 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -0,0 +1 @@
+libosmocore > 1.9.2 requires log_cache_enable call
diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp
index 8f5cc85..c460e98 100644
--- a/Transceiver52M/osmo-trx.cpp
+++ b/Transceiver52M/osmo-trx.cpp
@@ -645,6 +645,7 @@
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();
To view, visit change 36386. To unsubscribe, or for help writing mail filters, visit settings.