smlc_subscr_test: Replace use of deprecated log_set_print_filename() API
hex_category is also set explicitly to keep same results (old API used to set it internally). Change-Id: I49365dfcd24bed55101917d2ea034c4327ab51d6
This commit is contained in:
parent
b36a18f139
commit
14c9c7bcd7
|
@ -140,10 +140,11 @@ int main()
|
|||
void *ctx = talloc_named_const(NULL, 0, "smlc_subscr_test");
|
||||
|
||||
osmo_init_logging2(ctx, &log_info);
|
||||
log_set_print_filename(osmo_stderr_target, 0);
|
||||
log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
|
||||
log_set_print_timestamp(osmo_stderr_target, 0);
|
||||
log_set_use_color(osmo_stderr_target, 0);
|
||||
log_set_print_category(osmo_stderr_target, 1);
|
||||
log_set_print_category_hex(osmo_stderr_target, 0);
|
||||
|
||||
g_smlc = smlc_state_alloc(ctx);
|
||||
|
||||
|
@ -154,4 +155,3 @@ int main()
|
|||
printf("Done\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue