Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 24447 invoked by uid 6000); 22 Oct 1998 19:30:18 -0000 Received: (qmail 23944 invoked by uid 2001); 22 Oct 1998 19:30:02 -0000 Date: 22 Oct 1998 19:30:02 -0000 Message-ID: <19981022193002.23943.qmail@hyperreal.org> To: apache-bugdb@apache.org Cc: apache-bugdb@apache.org, From: "Escobar, Henry J." Subject: RE: apache-api/3272: Integration of module in apache Reply-To: "Escobar, Henry J." Sender: apache-bugdb-owner@apache.org Precedence: bulk The following reply was made to PR apache-api/3272; it has been noted by GNATS. From: "Escobar, Henry J." To: marc@APACHE.ORG Cc: apbugs@APACHE.ORG Subject: RE: apache-api/3272: Integration of module in apache Date: Thu, 22 Oct 1998 12:23:07 -0700 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. 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. Since this web server will be authenticating all of the time, I want to minimize the overhead of opening and closing the log file (such as when apache changes stderr to be logs/error_log file -> which I am using for now). I also plan to only log when it authenticates as well... Please tell me there is a way around hacking apache... It will make my install script a lot more difficult with a lot of assumptions (ass-u-me-tions)!!!! Thanks in advance, -Henry