From c669ce00eba4cd466f270a313abf1645b1149564 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 4 Nov 2013 15:36:17 +0100 Subject: Replace the 'syslog' facility (5) by 'user' (1). 'syslog' is meant for the messages generated internally by syslogd, whereas 'user' is for user-level messages. --- roles/common/files/usr/local/sbin/update-firewall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/common/files/usr/local') diff --git a/roles/common/files/usr/local/sbin/update-firewall.sh b/roles/common/files/usr/local/sbin/update-firewall.sh index 2e16711..84e076a 100755 --- a/roles/common/files/usr/local/sbin/update-firewall.sh +++ b/roles/common/files/usr/local/sbin/update-firewall.sh @@ -52,10 +52,10 @@ usage() { } log() { - /usr/bin/logger -st firewall -p syslog.info -- "$@" + /usr/bin/logger -st firewall -p user.info -- "$@" } fatal() { - /usr/bin/logger -st firewall -p syslog.err -- "$@" + /usr/bin/logger -st firewall -p user.err -- "$@" exit 1 } -- cgit v1.2.3