msc_vlr_tests: tweak logging in verbose mode

Change-Id: Ia06245f3adc6cf4c483d9c12c387cd5169582353
changes/05/12405/13
Neels Hofmeyr 4 years ago committed by Harald Welte
parent 5769d36b44
commit 39cb0dd303
  1. 9
      tests/msc_vlr/msc_vlr_tests.c

@ -1021,11 +1021,16 @@ int main(int argc, char **argv)
OSMO_ASSERT(osmo_stderr_target);
log_set_use_color(osmo_stderr_target, 0);
log_set_print_timestamp(osmo_stderr_target, 0);
log_set_print_filename(osmo_stderr_target, _log_lines? 1 : 0);
log_set_print_filename(osmo_stderr_target, 0);
log_set_print_category(osmo_stderr_target, 1);
if (cmdline_opts.verbose)
if (cmdline_opts.verbose) {
log_set_category_filter(osmo_stderr_target, DLSMS, 1, LOGL_DEBUG);
log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_BASENAME);
log_set_print_filename_pos(osmo_stderr_target, LOG_FILENAME_POS_LINE_END);
log_set_use_color(osmo_stderr_target, 1);
log_set_print_level(osmo_stderr_target, 1);
}
net = test_net(msc_vlr_tests_ctx);

Loading…
Cancel
Save