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
This commit is contained in:
Keith Whyte 2021-04-28 21:33:00 -05:00
parent 14277e3375
commit bbff304e2e
2 changed files with 2 additions and 1 deletions

View File

@ -487,7 +487,7 @@ osmo_trau_sync_alloc(void *ctx, const char *name, frame_out_cb_t frame_out_cb,
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);

View File

@ -84,5 +84,6 @@ int main(int argc, char **argv)
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();
}