From 0a60c68af7028fe58c3ece088c85fd3a04eb9a1f Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 10 Oct 2008 22:27:30 -0700 Subject: Fix Bug 3751 configuring multiple global syslog facilities overwrites previous ones in /etc/syslog.conf - multiple nodes configured under 'system syslog global' are appended to syslog.conf - default '*.notice -/var/log/messages' is removed from syslog.conf if any node is configured under 'system syslog global' and is put back when nothing configured under 'system syslog global' - syslog process only restarted once after making all changes in config - added commit checks at 'system syslog <>' level nodes to specify facility --- templates/system/syslog/console/node.def | 1 + 1 file changed, 1 insertion(+) (limited to 'templates/system/syslog/console/node.def') diff --git a/templates/system/syslog/console/node.def b/templates/system/syslog/console/node.def index ec620885..7252ad79 100644 --- a/templates/system/syslog/console/node.def +++ b/templates/system/syslog/console/node.def @@ -1 +1,2 @@ help: Set console logging +commit:expression: $VAR(./facility/@@) != ""; "Atleast one facility must be configured to log messages to $VAR(.)" -- cgit v1.2.3