summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-03-29 17:03:56 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-03-29 17:03:56 +0200
commit952a18ed19f531b82e26108f8c46ef225fddef43 (patch)
tree93649e3ee9d4d6bfb8023f2da56fff03695d2331
parentff0670edf399882329daa242247523d5f250f9a5 (diff)
logging: Add the 'all' category back to the log level command
This is required to be able to set a global log level. The all command is emitted by the VTY logging code.
-rw-r--r--src/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c
index 2c24f2fb..77c8a50d 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -452,7 +452,7 @@ const char *log_vty_command_string(const struct log_info *info)
if (!str)
return NULL;
- ret = snprintf(str + offset, rem, "logging level (");
+ ret = snprintf(str + offset, rem, "logging level (all|");
if (ret < 0)
goto err;
OSMO_SNPRINTF_RET(ret, rem, offset, len);