aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <ewild@sysmocom.de>2023-06-21 16:40:29 +0200
committerEric <ewild@sysmocom.de>2023-07-25 18:25:49 +0200
commit7d5c16590c59c2ed382b074860f9120d9e6013ac (patch)
tree720a590047ac50e2272a72d8cdd320c71145f6a5
parentf8c7a5252159814b96d171805213cc5bfa4921bc (diff)
ms: fix blocking logging
-rw-r--r--Transceiver52M/ms/logging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Transceiver52M/ms/logging.c b/Transceiver52M/ms/logging.c
index 9ee0738..ee59299 100644
--- a/Transceiver52M/ms/logging.c
+++ b/Transceiver52M/ms/logging.c
@@ -76,6 +76,7 @@ static const int trxcon_log_cfg[] = {
void trxc_log_init(void *tallctx)
{
osmo_init_logging2(tallctx, &trxcon_log_info);
+ log_target_file_switch_to_wqueue(osmo_stderr_target);
trxcon_set_log_cfg(&trxcon_log_cfg[0], ARRAY_SIZE(trxcon_log_cfg));
}