www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xin Yu <tm...@nuaa.edu.cn>
Subject general/2323: Logs Before Initiaize logfile
Date Sat, 30 May 1998 15:15:31 GMT

>Number:         2323
>Category:       general
>Synopsis:       Logs Before Initiaize logfile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat May 30 08:20:00 PDT 1998
>Last-Modified:
>Originator:     tmc01@nuaa.edu.cn
>Organization:
apache
>Release:        1.3b
>Environment:
Linux 2.0.32 #1 Wed Nov 19 00:46:45 EST 1997 i486 unknown
Redhat 5.0
apache-1.3b
Use apache with inetd.
>Description:
Some modules like so_mod bring logs before logfile is initialize.
so the logs output diretly to stderr. But when I use inetd to start httpd, them well be send
to WWW brower.
>How-To-Repeat:
configure with --enable-module=most --module-shared=max 

In httpd.conf set ServerType inetd.
charge inetd.conf

>Fix:
Check ServerType in function ap_log_error in http_log.c,
if ServerType is inetd, and logfile handle is null,
ignore the logs.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message