I noticed that the DEFAULT_XFERLOG macro definition is
supplied but not used anywhere in apache_1.3.

The only place where we use the definition is in "httpd -V"
where we print its setting.

% find . -type f | xargs grep -i DEFAULT_XFERLOG
./src/main/http_main.c:#ifdef DEFAULT_XFERLOG
./src/main/http_main.c:    printf(" -D DEFAULT_XFERLOG=\"" DEFAULT_XFERLOG "\"\n");
./src/apaci:echo '-DDEFAULT_XFERLOG="logs/access_log"'
./src/include/httpd.h:#ifndef DEFAULT_XFERLOG
./src/include/httpd.h:#define DEFAULT_XFERLOG "logs/access.log"
./src/include/httpd.h:#define DEFAULT_XFERLOG "logs/access_log"
./src/include/httpd.h:#endif /* DEFAULT_XFERLOG */
./configure:    echo "      DEFAULT_XFERLOG: ${logfiledir_relative}access_log"
./configure:echo "echo '-DDEFAULT_XFERLOG=\"${logfiledir_relative}access_log\"'" 
>>$src/apaci

I vote for deleting it. In absense of a TransferLog or
CustomLog directive, apache_1.3 (today) does no access logging
at all.

Objections?

   Martin
-- 
<[EMAIL PROTECTED]>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany

Reply via email to