httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Re: An idea for error logging
Date Wed, 04 Sep 1996 17:52:29 GMT
Robert S. Thau wrote:
>   How about if ErrorLog is set to /dev/null having Apache simply not
>   open an ErrorLog and ignoring any calls to print anything to it?
> No saving --- an open() of /dev/null still takes a file descriptor.
> In any case, saving only *one* file descriptor is not likely to be 
> significant (though, if you've got numerous virtual hosts with
> separate error logs, going to a common error log probably would make
> a difference --- one fd vs. many).

I'm afraid I was misunderstood.

I was proposing '/dev/null' be special to the logging module, such
that when Apache saw that ErrorLog was sent to /dev/null, Apache
didn't even bother opening up /dev/null, saving a fd.

Jim Jagielski  << >>   |   "There is a time for laughing,
  **  jaguNET Access Services  **      |    and a time for not laughing,
      Email:          |    and this is not one of them"
++         +++      Voice/Fax: 410-931-3157       ++

View raw message