From 93fcb8164f1b86b43ed7cb3cb65f2d634a46b1c5 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 6 May 2009 16:47:46 -0700 Subject: Allow specifying 'protocols' for syslog facility Since quagga uses local7, make it a real facility. Allow local7 for compatiablity. Bug 4263 --- templates/system/syslog/console/facility/node.def | 4 ++-- templates/system/syslog/file/node.tag/facility/node.def | 4 ++-- templates/system/syslog/global/facility/node.def | 4 ++-- templates/system/syslog/host/node.tag/facility/node.def | 4 ++-- templates/system/syslog/user/node.tag/facility/node.def | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/system/syslog/console/facility/node.def b/templates/system/syslog/console/facility/node.def index 4a565f6e..98b207d5 100644 --- a/templates/system/syslog/console/facility/node.def +++ b/templates/system/syslog/console/facility/node.def @@ -1,7 +1,7 @@ tag: type: txt help: Set facility for console logging -syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" +syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "protocols", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" comp_help:Available logging facilities: all All facilities excluding "mark" auth Authentication and authorization @@ -13,6 +13,7 @@ comp_help:Available logging facilities: mail Mail subsystem mark Timestamp news USENET subsystem + protocols Routing protocols (local7) security Authentication and authorization syslog Authentication and authorization user Application processes @@ -24,4 +25,3 @@ comp_help:Available logging facilities: local4 Local facility 4 local5 Local facility 5 local6 Local facility 6 - local7 Local facility 7 diff --git a/templates/system/syslog/file/node.tag/facility/node.def b/templates/system/syslog/file/node.tag/facility/node.def index f793e9b4..37188925 100644 --- a/templates/system/syslog/file/node.tag/facility/node.def +++ b/templates/system/syslog/file/node.tag/facility/node.def @@ -1,7 +1,7 @@ tag: type: txt help: Set facility for file logging -syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" +syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "protocols", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" comp_help:Available logging facilities: all All facilities excluding "mark" auth Authentication and authorization @@ -13,6 +13,7 @@ comp_help:Available logging facilities: mail Mail subsystem mark Timestamp news USENET subsystem + protocols Routing protocols (local7) security Authentication and authorization syslog Authentication and authorization user Application processes @@ -24,4 +25,3 @@ comp_help:Available logging facilities: local4 Local facility 4 local5 Local facility 5 local6 Local facility 6 - local7 Local facility 7 diff --git a/templates/system/syslog/global/facility/node.def b/templates/system/syslog/global/facility/node.def index 0616179f..bc8c094a 100644 --- a/templates/system/syslog/global/facility/node.def +++ b/templates/system/syslog/global/facility/node.def @@ -1,7 +1,7 @@ tag: type: txt help: Set facility for system logging -syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all" ; "\"$VAR(@)\" is not a valid logging facility" +syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "protocols", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all" ; "\"$VAR(@)\" is not a valid logging facility" comp_help:Available logging facilities: all All facilities excluding "mark" auth Authentication and authorization @@ -13,6 +13,7 @@ comp_help:Available logging facilities: mail Mail subsystem mark Timestamp news USENET subsystem + protocols Routing protocols (local7) security Authentication and authorization syslog Authentication and authorization user Application processes @@ -24,4 +25,3 @@ comp_help:Available logging facilities: local4 Local facility 4 local5 Local facility 5 local6 Local facility 6 - local7 Local facility 7 diff --git a/templates/system/syslog/host/node.tag/facility/node.def b/templates/system/syslog/host/node.tag/facility/node.def index ba18add0..d5f6ef9b 100644 --- a/templates/system/syslog/host/node.tag/facility/node.def +++ b/templates/system/syslog/host/node.tag/facility/node.def @@ -1,7 +1,7 @@ tag: type: txt help: Set facility for host logging -syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" +syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "protocols", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" comp_help:Available logging facilities: all All facilities excluding "mark" auth Authentication and authorization @@ -13,6 +13,7 @@ comp_help:Available logging facilities: mail Mail subsystem mark Timestamp news USENET subsystem + protocols Routing protocols (local7) security Authentication and authorization syslog Authentication and authorization user Application processes @@ -24,4 +25,3 @@ comp_help:Available logging facilities: local4 Local facility 4 local5 Local facility 5 local6 Local facility 6 - local7 Local facility 7 diff --git a/templates/system/syslog/user/node.tag/facility/node.def b/templates/system/syslog/user/node.tag/facility/node.def index 0d323521..91a3f2a6 100644 --- a/templates/system/syslog/user/node.tag/facility/node.def +++ b/templates/system/syslog/user/node.tag/facility/node.def @@ -1,7 +1,7 @@ tag: type: txt help: Set facility for user logging -syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" +syntax:expression: $VAR(@) in "auth", "authpriv", "cron", "daemon", "kern", "lpr", "mail", "mark", "news", "protocols", "security", "syslog", "user", "uucp", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "all"; "\"$VAR(@)\" is not a valid logging facility" comp_help:Available logging facilities: all All facilities excluding "mark" auth Authentication and authorization @@ -13,6 +13,7 @@ comp_help:Available logging facilities: mail Mail subsystem mark Timestamp news USENET subsystem + protocols Routing protocols (local7) security Authentication and authorization syslog Authentication and authorization user Application processes @@ -24,4 +25,3 @@ comp_help:Available logging facilities: local4 Local facility 4 local5 Local facility 5 local6 Local facility 6 - local7 Routing Daemons -- cgit v1.2.3