]> granicus.if.org Git - sudo/commitdiff
added MAXLOGFILELEN
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 28 Feb 1994 01:36:38 +0000 (01:36 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 28 Feb 1994 01:36:38 +0000 (01:36 +0000)
sudo.h

diff --git a/sudo.h b/sudo.h
index d9e752508410d8b53fd30052f8488c38dd946830..a824d3aba7852cee6b21e5c7f2d235ebc86eca3e 100644 (file)
--- 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
 
 /*