rse 98/04/25 09:44:32
Modified: htdocs/manual new_features_1_3.html htdocs/manual/mod core.html Log: Document syslogd-based error logging Submitted by: Lars Eilebrecht Revision Changes Path 1.54 +5 -0 apache-1.3/htdocs/manual/new_features_1_3.html Index: new_features_1_3.html =================================================================== RCS file: /export/home/cvs/apache-1.3/htdocs/manual/new_features_1_3.html,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- new_features_1_3.html 1998/04/19 20:10:42 1.53 +++ new_features_1_3.html 1998/04/25 16:44:30 1.54 @@ -336,6 +336,11 @@ real-time splitting of multiple vhosts into separate logs, and asynchronous DNS resolving on the fly. +<LI><STRONG>LogLevel and syslog support</STRONG><BR> + Apache now has <A HREF="mod/core.html#loglevel">configurable error + logging levels</A> and supports <A HREF="mod/core.html#errorlog">error + logging via syslogd(8)</A>. + <LI><STRONG>ServerRoot relative auth filenames</STRONG><BR> Auth filenames for the various authentication modules are now treated as relative to the ServerRoot if they are not full paths. 1.108 +11 -7 apache-1.3/htdocs/manual/mod/core.html Index: core.html =================================================================== RCS file: /export/home/cvs/apache-1.3/htdocs/manual/mod/core.html,v retrieving revision 1.107 retrieving revision 1.108 diff -u -r1.107 -r1.108 --- core.html 1998/03/28 20:57:04 1.107 +++ core.html 1998/04/25 16:44:31 1.108 @@ -756,7 +756,7 @@ <A HREF="directive-dict.html#Syntax" REL="Help" -><STRONG>Syntax:</STRONG></A> ErrorLog <EM>filename</EM><BR> +><STRONG>Syntax:</STRONG></A> ErrorLog <EM>filename</EM>|<CODE>syslog</CODE><BR> <A HREF="directive-dict.html#Default" REL="Help" @@ -775,16 +775,18 @@ then it is assumed to be relative to the <A HREF="#serverroot">ServerRoot</A>. If the filename begins with a pipe (|) then it is assumed to be a command to spawn to handle the error log. -<p> -Example: -<BLOCKQUOTE><CODE>ErrorLog /dev/null</CODE></BLOCKQUOTE> -This effectively turns off error logging.<P> +<P><STRONG>Apache 1.3 and above:</STRONG> +Using <CODE>syslog</CODE> instead of a filename enables logging via syslogd(8) +if the system supports it. + +<P> SECURITY: See the <A HREF="../misc/security_tips.html#serverroot">security tips</A> document for details on why your security could be compromised if the directory where logfiles are stored is writable by anyone other than the user that starts the server. +<P><STRONG>See also:</STRONG> <A HREF="#loglevel">LogLevel</A> <P><HR> <H2><A name="files"><Files> directive</A></H2> @@ -1483,7 +1485,8 @@ ><STRONG>Compatibility:</STRONG></A> LogLevel is only available in 1.3 or later. <P>LogLevel adjusts the verbosity of the messages recorded in the -error logs. The following <EM>level</EM>s are available, in order of +error logs (see <A HREF="#errorlog">ErrorLog</A> directive). +The following <EM>level</EM>s are available, in order of decreasing significance: <P><TABLE> @@ -1520,7 +1523,8 @@ of higher significance will be reported as well. E.g., when <CODE>LogLevel info</CODE> is specified, then messages with log levels of <CODE>notice</CODE> and <CODE>warn</CODE> will also be posted. - +<P> +Using a level of at least <CODE>crit</CODE> is recommended. <P><HR> <H2><A name="maxclients">MaxClients directive</A></H2>