From: Todd C. Miller Date: Sat, 14 Aug 1999 15:50:49 +0000 (+0000) Subject: Sample entries for syslog.conf X-Git-Tag: SUDO_1_6_0~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1451404bafdd6f4c5ea7e65bd3fbc9c301aea37f;p=sudo Sample entries for syslog.conf --- diff --git a/sample.syslog.conf b/sample.syslog.conf new file mode 100644 index 000000000..af84dbf73 --- /dev/null +++ b/sample.syslog.conf @@ -0,0 +1,16 @@ +# This is a sample syslog.conf fragment for use with Sudo. +# NOTE: the whitespace in the following line is made up of +# characters, *not* spaces. You cannot just cut and paste! +# +# Sudo logs to local2 by default, but this is changable via the +# --with-logfac configure option. To see what syslog facility +# a sudo binary uses, run `sudo -V' as *root*. You may have +# to check /usr/include/syslog.h to map the facility number to +# a name. + +# This logs successful and failed sudo attempts to the file /var/log/sudo +local2.debug /var/log/sudo + +# To log to a remote machine, use something like the following, +# where "loghost" is the name of the remote machine. +local2.debug @loghost