From 3f6410042b54db636eac390657a8a35583515ce4 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 6 Apr 2009 21:32:29 -0700 Subject: Rewrite existing syslog configuration update Do most of the work in the rewritten vyatta_update_syslog code. Handle multiple facilities for same target without causing duplicate log messages. Never restart syslog daemon, just reload it and only if the configuration has changed. --- sysconf/syslog.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysconf/syslog.conf') diff --git a/sysconf/syslog.conf b/sysconf/syslog.conf index 56503e93..0143183d 100644 --- a/sysconf/syslog.conf +++ b/sysconf/syslog.conf @@ -4,8 +4,8 @@ # manpage. # # WARNING -# Note: configuration via the Vyatta FusionCLI does not understand -# full syslog configuration file format, so as administrator either +# Note: configuration via the Vyatta FusionCLI may overwrite +# changes to this file; so as administrator either # use Linux tools (ie edit this file) or use the CLI, not both. # Standard logfiles by facility @@ -15,5 +15,5 @@ #kern.* -/var/log/kern.log #user.* -/var/log/user.log -# Catch-all log file -*.notice;local7.* -/var/log/messages +# Messages file (required) +*.notice;local7.* -/var/log/messages # VYATTA -- cgit v1.2.3