www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Werlein <rainer.werl...@erlangen.netsurf.de>
Subject other/902: #including explain.h from header makes messages less useful
Date Wed, 23 Jul 1997 14:20:03 GMT

>Number:         902
>Category:       other
>Synopsis:       #including explain.h from header makes messages less useful
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Wed Jul 23 07:20:01 1997
>Originator:     rainer.werlein@erlangen.netsurf.de
>Release:        1.2.x
OS/2, Linux, both with gcc
(The problem is NOT OS dependant)
Tracing mod_proxy's operations using the Explain()
facility is harder then necessary, because all logged
messages seem to come from one source file: mod_proxy.h.

Cause: DEF_Explain is 'called' in mod_proxy.h. This
Macro finally expands __FILE__ as the source file spec
for the messages, and this is always the header, not
the .c file.

(The line numbers are correct, of cause.)
run apache with EXPLAIN #define'd in mod_proxy.h
move the 'calls' of DEF_Explain to the .c file

View raw message