From: Todd C. Miller Date: Mon, 28 Feb 1994 01:36:38 +0000 (+0000) Subject: added MAXLOGFILELEN X-Git-Tag: SUDO_1_3_1~318 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33f8a9573e28f819464f5317d423cd6bdb97d8eb;p=sudo added MAXLOGFILELEN --- diff --git a/sudo.h b/sudo.h index d9e752508..a824d3aba 100644 --- a/sudo.h +++ b/sudo.h @@ -226,7 +226,18 @@ YYSTYPE yylval; * syslog(3) call if the internal buffer is moe than 1023 characters. */ #ifndef MAXSYSLOGLEN -# define MAXSYSLOGLEN 960 +# define MAXSYSLOGLEN 960 +#endif + +/* + * Maximum number of characters per physical log file line. + * This is only used if you are logging to a file. It basically + * just means "wrap lines after MAXLOGFILELEN characters." + * Word wrapping is done where possible. If you don't want word + * wrap, set this to be MAXLOGLEN. + */ +#ifndef MAXLOGFILELEN +# define MAXLOGFILELEN 80 #endif /*