summaryrefslogtreecommitdiff
path: root/templates/system/syslog/global
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/syslog/global')
-rw-r--r--templates/system/syslog/global/archive/files/node.def2
-rw-r--r--templates/system/syslog/global/archive/node.def2
-rw-r--r--templates/system/syslog/global/archive/size/node.def2
-rw-r--r--templates/system/syslog/global/facility/node.def2
-rw-r--r--templates/system/syslog/global/facility/node.tag/level/node.def2
-rw-r--r--templates/system/syslog/global/node.def2
6 files changed, 6 insertions, 6 deletions
diff --git a/templates/system/syslog/global/archive/files/node.def b/templates/system/syslog/global/archive/files/node.def
index 8755bbe6..d4e8af82 100644
--- a/templates/system/syslog/global/archive/files/node.def
+++ b/templates/system/syslog/global/archive/files/node.def
@@ -1,6 +1,6 @@
type: u32
-help: Set number of saved files
+help: Number of saved files
default: 5
diff --git a/templates/system/syslog/global/archive/node.def b/templates/system/syslog/global/archive/node.def
index 8c6110d3..82bc9e86 100644
--- a/templates/system/syslog/global/archive/node.def
+++ b/templates/system/syslog/global/archive/node.def
@@ -1,4 +1,4 @@
-help: Set log file size and rotation characteristics
+help: Log file size and rotation characteristics
delete:
sudo sh -c "/opt/vyatta/sbin/vyatta_update_logrotate.pl \
diff --git a/templates/system/syslog/global/archive/size/node.def b/templates/system/syslog/global/archive/size/node.def
index 30f6427f..341f4a5b 100644
--- a/templates/system/syslog/global/archive/size/node.def
+++ b/templates/system/syslog/global/archive/size/node.def
@@ -1,6 +1,6 @@
type: u32
-help: Set size of log files (kbytes)
+help: Size of log files (kbytes)
default: 250
diff --git a/templates/system/syslog/global/facility/node.def b/templates/system/syslog/global/facility/node.def
index bc8c094a..fa44538a 100644
--- a/templates/system/syslog/global/facility/node.def
+++ b/templates/system/syslog/global/facility/node.def
@@ -1,6 +1,6 @@
tag:
type: txt
-help: Set facility for system logging
+help: Facility for system logging
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"
diff --git a/templates/system/syslog/global/facility/node.tag/level/node.def b/templates/system/syslog/global/facility/node.tag/level/node.def
index 42e6c148..e8a45ea1 100644
--- a/templates/system/syslog/global/facility/node.tag/level/node.def
+++ b/templates/system/syslog/global/facility/node.tag/level/node.def
@@ -1,5 +1,5 @@
type: txt
-help: Set the logging level
+help: Logging level
syntax:expression: $VAR(@) in "emerg", "alert", "crit", "err", "warning", "notice", "info", "debug"; "\"$VAR(@)\" is not a valid logging level"
default: "err"
comp_help:Logging levels in descending order of severity:
diff --git a/templates/system/syslog/global/node.def b/templates/system/syslog/global/node.def
index e5c441a8..5d917e1d 100644
--- a/templates/system/syslog/global/node.def
+++ b/templates/system/syslog/global/node.def
@@ -1,2 +1,2 @@
-help: Set system logging
+help: System logging
commit:expression: $VAR(./facility/) != "" || $VAR(./archive/) != ""; "Must specify either facility or archive for syslog file"