Log TRAU FSM at INFO not NOTICE
During normal operations, osmo-mgw floods the log/vty at level NOTICE with:
Received Event RX_BITS (trau_sync.c:525)
Change-Id: Ib4c5ac130e766906361c63090b30111970343075
diff --git a/src/trau/trau_sync.c b/src/trau/trau_sync.c
index 89c5558..dba9cd1 100644
--- a/src/trau/trau_sync.c
+++ b/src/trau/trau_sync.c
@@ -487,7 +487,7 @@
if (pat_id >= ARRAY_SIZE(sync_patterns))
return NULL;
- fi = osmo_fsm_inst_alloc(&trau_sync_fsm, ctx, NULL, LOGL_NOTICE, name);
+ fi = osmo_fsm_inst_alloc(&trau_sync_fsm, ctx, NULL, LOGL_INFO, name);
if (!fi)
return NULL;
tss = talloc_zero(fi, struct trau_rx_sync_state);
diff --git a/tests/trau_sync/trau_sync_test.c b/tests/trau_sync/trau_sync_test.c
index 88b5c6d..4e41dd2 100644
--- a/tests/trau_sync/trau_sync_test.c
+++ b/tests/trau_sync/trau_sync_test.c
@@ -84,5 +84,6 @@
log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
log_set_print_category(osmo_stderr_target, 0);
log_set_print_category_hex(osmo_stderr_target, 0);
+ log_set_log_level(osmo_stderr_target, LOGL_INFO);
test_body();
}