The following reply was made to PR apache-api/3272; it has been noted by GNATS.
From: Marc Slemko <[EMAIL PROTECTED]> To: "Escobar, Henry J." <[EMAIL PROTECTED]> Cc: Apache bugs database <[EMAIL PROTECTED]> Subject: RE: apache-api/3272: Integration of module in apache Date: Thu, 22 Oct 1998 12:34:42 -0700 (PDT) On Thu, 22 Oct 1998, Escobar, Henry J. wrote: > Marc, > I've already looked at that part of the code, but before I start hacking > the apache code, I was wondering if there was an API to open a logfile and > to get a file descriptor prior to when httpd is forked. Again, look at mod_log_*. > > The main reason I want to do this is so that when apache 1.x comes out, I > can simply cp ~nt_auth/src/*.[ch] to ~apache/src/modules/extra > make some changes in ~apache/src/modules/extra/Makefile compile and go. > > I want to avoid going into ~apache/src/main/http_main.c to get the logging > capability I need. mod_log_* does not do anything in http_main.c. It only uses API calls. While there isn't a fully API to just open a logfile, it is only a dozen lines or so of code. All logging except from error logging is done completely by modules right now.
