From: Todd C. Miller Date: Thu, 14 Jul 1994 16:12:45 +0000 (+0000) Subject: added BOTH_LOGS X-Git-Tag: SUDO_1_3_1~108 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c80d59a51f241a92ab9ad9cacd53a319b6707b63;p=sudo added BOTH_LOGS --- diff --git a/sudo.h b/sudo.h index d0e10fdcf..165aefe94 100644 --- a/sudo.h +++ b/sudo.h @@ -49,6 +49,11 @@ # define SYSLOG #endif +/* + * Uncomment this if you want to log to a file *and* via syslog(3) + */ +/* #define BOTH_LOGS */ + /* * If you define NO_ROOT_SUDO, sudo will exit if called by root. */ @@ -234,7 +239,9 @@ typedef struct list { # ifndef Syslog_priority_NO # define Syslog_priority_NO LOG_ALERT # endif -# undef _PATH_SUDO_LOGFILE +# ifndef BOTH_LOGS +# undef _PATH_SUDO_LOGFILE +# endif #endif /* SYSLOG */ /*