home *** CD-ROM | disk | FTP | other *** search
Wrap
<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN"> <HTML> <HEAD> <TITLE>ErrorLog Directive</TITLE> <META NAME="GENERATOR" CONTENT="Vermeer FrontPage 1.0"> </HEAD> <BODY> <H1>ErrorLog directive</H1> <HR> <H2>Purpose</H2> <P>The ErrorLog <A HREF="../configur.htm#Directive">directive</A> sets the file to which httpd will log errors it encounters. It currently logs the following error conditions:</P> <P></P> <UL> <LI>Clients which time out </LI> <LI>Scripts which produce no output </LI> <LI><A HREF="../access/overview.htm">#haccess.cnf</A> files which attempt to override things they do not have permission to </LI> <LI>Server bugs which produce a segmentation violation or bus error </LI> <LI><A HREF="../access/overview.htm#user_auth">User Authentication</A> configuration problems </LI> </UL> <HR> <H2>Syntax</H2> <P><CODE>ErrorLog file</CODE> </P> <P><CODE>file</CODE> is the name of the file to which errors will be logged. It is either a full pathname, or a partial pathname relative to <A HREF="serverro.htm">ServerRoot</A>. </P> <P>Only one ErrorLog directive is allowed in the configuration file. </P> <P></P> <HR> <H2>Default</H2> <P>If you do not specify an ErrorLog, httpd assumes: </P> <P><CODE>ErrorLog logs/error.log</CODE> </P> <P></P> <HR> <H2>Examples</H2> <P><CODE>ErrorLog logs/errors</CODE> </P> <P>This logs errors to the file logs/errors in the <A HREF="serverro.htm">ServerRoot</A> directory. </P> <P><CODE>ErrorLog /tmp/httpderr.log</CODE> </P> <P>This logs errors to the file <CODE>/tmp/httpderr.log</CODE>. </P> <P><CODE>ErrorLog NUL:</CODE> </P> <P>This effectively turns off error logging, <B>not recommended!</B>.</P> <P><A HREF="overview.htm"><IMG SRC="../../images/back.gif" ALIGN=bottom BORDER=2 WIDTH=40 HEIGHT=40>Return to Server Configuration File Overview</A> </P> <HR> <P>Copyright (C) 1995 Vermeer Technologies, Inc. All rights reserved. </P> </BODY> </HTML>