summaryrefslogtreecommitdiff
path: root/templates/system/syslog/file/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/syslog/file/node.def')
-rw-r--r--templates/system/syslog/file/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/system/syslog/file/node.def b/templates/system/syslog/file/node.def
index 3861dd53..fa4fd7d0 100644
--- a/templates/system/syslog/file/node.def
+++ b/templates/system/syslog/file/node.def
@@ -2,3 +2,4 @@ tag:
type: txt
help: Name of the syslog file to save log messages to
syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9_.]+$" ; "invalid file name $VAR(@)"
+commit:expression: $VAR(./facility/) != "" || $VAR(./archive/) != ""; "Must specify either facility or archive for syslog file"