mirror of https://gerrit.osmocom.org/libosmocore
vty: Provide documentation for all logging facilities
Document all facilities in the log syslog command.
This commit is contained in:
parent
146d1d3c35
commit
a4463fd23b
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue