You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Xin Yu <tm...@nuaa.edu.cn> on 1998/05/30 17:15:31 UTC
general/2323: Logs Before Initiaize logfile
>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 <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]