You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kraemer <Ma...@Fujitsu-Siemens.com> on 2002/05/13 13:09:24 UTC

DEFAULT_XFERLOG in apache-1.3

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
-- 
<Ma...@Fujitsu-Siemens.com>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany