logging/vty: do not print deprecated logging commands to stdout

Yes, we don't really need to poison stdout, as some osmo-* binaries
(like osmo-gapk) may want to use it for non-logging purposes.
This printf() call looks like a debugging leftover.

Change-Id: Ida35865b1c0bb3d3567918f8e89c6551c6b34103
This commit is contained in:
Vadim Yanitskiy 2019-11-20 23:20:30 +07:00
parent d0e8d6b9b5
commit 1581c49bdd
1 changed files with 0 additions and 1 deletions

View File

@ -1007,7 +1007,6 @@ void logging_vty_add_deprecated_subsys(void *ctx, const char *name)
OSMO_ASSERT(cmd);
cmd->string = talloc_asprintf(cmd, "logging level %s (debug|info|notice|error|fatal)",
name);
printf("%s\n", cmd->string);
cmd->func = log_deprecated_func;
cmd->doc = LEVEL_STR
"Deprecated Category\n";