From 52bbcd4483e25d282e92e5181d75b2d526352d13 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 10 Oct 2008 23:26:09 +0200 Subject: Go back to simpler syslog config Bugfix 3567 The command templates for managing the syslog are awkward and brittle and really can't deal with multiple targets or full config format, so just go back to something simple and fix later in a better redesign. --- sysconf/syslog.conf | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'sysconf/syslog.conf') diff --git a/sysconf/syslog.conf b/sysconf/syslog.conf index f732affc..a8b92923 100644 --- a/sysconf/syslog.conf +++ b/sysconf/syslog.conf @@ -1,14 +1,20 @@ -# Standard logfiles by facility -auth.*;,authpriv.notice /var/log/auth.log +# /etc/syslog.conf Configuration file for syslogd. +# +# For more information see syslog.conf(5) +# manpage. +# +# WARNING +# Note: configuration via the Vyatta FusionCLI does not understand +# full syslog configuration file format, so as administrator either +# use Linux tools (ie edit this file) or use the CLI, not both. -# Some other (unused) standard entries -#cron.* /var/log/cron.log -#kern.* -/var/log/kern.log -#lpr.* -/var/log/lpr.log -#mail.* -/var/log/mail.log -#user.* -/var/log/user.log +# Standard logfiles by facility +# +#auth,authpriv.* /var/log/auth.log +#daemon.* -/var/log/daemon.log +#kern.* -/var/log/kern.log +#user.* -/var/log/user.log -# Catch-all log file used by CLI -*.warning;local7.*;\ - auth,authpriv.none;\ - cron,daemon.none; -/var/log/messages +# Catch-all log file +*.notice -/var/log/messages +local7.* -/var/log/messages -- cgit v1.2.3