handover_test: adjust logging for reproducability

Do not show source file and line numbers in the log, so that the log
output remains unchanged for unrelated changes.

Also show the log level.

Change-Id: I8ebcaf16cd14881a3a41616dcff175e173db9ae8
This commit is contained in:
Neels Hofmeyr 2020-12-10 16:06:55 +01:00 committed by neels
parent e0dfe96662
commit edf3359205
1 changed files with 3 additions and 1 deletions

View File

@ -1248,9 +1248,11 @@ int main(int argc, char **argv)
osmo_init_logging2(ctx, &log_info);
log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
log_set_print_category(osmo_stderr_target, 1);
log_set_print_category_hex(osmo_stderr_target, 0);
log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_BASENAME);
log_set_print_level(osmo_stderr_target, 1);
log_set_print_timestamp(osmo_stderr_target, 0);
osmo_fsm_log_addr(false);
bsc_network_alloc();