You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rainer Werlein <ra...@erlangen.netsurf.de> on 1997/07/23 16:20:03 UTC
other/902: #including explain.h from header makes messages less useful
>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
>Organization:
apache
>Release: 1.2.x
>Environment:
OS/2, Linux, both with gcc
(The problem is NOT OS dependant)
>Description:
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.)
>How-To-Repeat:
run apache with EXPLAIN #define'd in mod_proxy.h
>Fix:
move the 'calls' of DEF_Explain to the .c file
>Audit-Trail:
>Unformatted: