summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"