diff options
Diffstat (limited to 'templates/system/syslog/file/node.def')
-rw-r--r-- | templates/system/syslog/file/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/syslog/file/node.def b/templates/system/syslog/file/node.def index e2c7759f..a1ac1c4d 100644 --- a/templates/system/syslog/file/node.def +++ b/templates/system/syslog/file/node.def @@ -2,4 +2,4 @@ tag: type: txt help: Set the name of 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" +commit:expression: $VAR(./@/facility/@@) != ""; "Atleast one facility must be configured to log messages to file $VAR(./@)" |