summaryrefslogtreecommitdiffstats
path: root/src/vty
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-10-03 23:17:36 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-10-03 23:20:15 +0200
commita4463fd23bf9fcf3ede094f5c15f4ecfb558c2de (patch)
tree9abd4e12c954217240677a96baa850ce25ea1892 /src/vty
parent146d1d3c357518d94338ae27eb12dc6effef9179 (diff)
vty: Provide documentation for all logging facilities
Document all facilities in the log syslog command.
Diffstat (limited to 'src/vty')
-rw-r--r--src/vty/logging_vty.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 7a595112..6be30b4a 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -390,7 +390,16 @@ static struct value_string sysl_level_names[] = {
DEFUN(cfg_log_syslog, cfg_log_syslog_cmd,
"log syslog (authpriv|cron|daemon|ftp|lpr|mail|news|user|uucp)",
- LOG_STR "Logging via syslog\n")
+ LOG_STR "Logging via syslog\n"
+ "Security/authorization messages facility\n"
+ "Clock daemon (cron/at) facility\n"
+ "General system daemon facility\n"
+ "Ftp daemon facility\n"
+ "Line printer facility\n"
+ "Mail facility\n"
+ "News facility\n"
+ "Generic facility\n"
+ "UUCP facility\n")
{
int facility = get_string_value(sysl_level_names, argv[0]);