]> granicus.if.org Git - apache/commitdiff
Document syslogd-based error logging
authorRalf S. Engelschall <rse@apache.org>
Sat, 25 Apr 1998 16:44:31 +0000 (16:44 +0000)
committerRalf S. Engelschall <rse@apache.org>
Sat, 25 Apr 1998 16:44:31 +0000 (16:44 +0000)
Submitted by: Lars Eilebrecht

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81037 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html

index d54ce29323b8d0061728090dc7536e31e434a8a4..a3040c668389a8c1ae9538c4ee8aa252440478a9 100644 (file)
@@ -756,7 +756,7 @@ responses.</A><P><HR>
 <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 @@ any errors it encounters. If the filename does not begin with a slash (/)
 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">&lt;Files&gt; directive</A></H2>
@@ -1483,7 +1485,8 @@ server will try to create.<P>
 ><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 @@ decreasing significance:
 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>