summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-11-20 23:20:30 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-11-20 23:54:58 +0700
commit1581c49bdd36572154b3dc20962ee594e4b0d8c7 (patch)
tree4c696ee0cd5e3f88180b6a5a1cae2af7b5f8be56
parentd0e8d6b9b566e9f0be64de0021b7c489e601a2fa (diff)
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
-rw-r--r--src/vty/logging_vty.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 88ee330a..96159433 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -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";