cosmetic: msc_vlr_tests: log SMS details when invoked with -v

DLSMS logs SMS pointers, so is not suitable for logging them always. Allow
logging for manual invocation, though.

Change-Id: I1b7d2fd3fb38bf50eeabd6f7ef736d70a17de7a6
This commit is contained in:
Neels Hofmeyr 2017-12-15 03:49:55 +01:00
parent f879fc92cf
commit 3f5b7808f5
1 changed files with 3 additions and 0 deletions

View File

@ -824,6 +824,9 @@ int main(int argc, char **argv)
log_set_print_filename(osmo_stderr_target, _log_lines? 1 : 0);
log_set_print_category(osmo_stderr_target, 1);
if (cmdline_opts.verbose)
log_set_category_filter(osmo_stderr_target, DLSMS, 1, LOGL_DEBUG);
net = gsm_network_init(tall_bsc_ctx, 1, 1, mncc_recv);
net->gsup_server_addr_str = talloc_strdup(net, "no_gsup_server");
net->gsup_server_port = 0;