Logging full headers

From: Steve Campbell <scampbel@dont-contact.us>
Date: Thu, 16 Oct 1997 10:58:38 +0000

I'd like to use the LOG_FULL_MIME_HEADERS configuration, but to keep
the access.log size a little more reasonable I'd like to leave out
the request header. Does anybody see any problem with changing this
line in stat.c:
 if (msize + strlen(ereq) + strlen(erep) + 7 <= sizeof(tmp))
     sprintf(tmp + msize - 1, " [%s] [%s]\n", ereq, erep);

to this line?
 if (msize + strlen(erep) + 7 <= sizeof(tmp))
     sprintf(tmp + msize - 1, " [%s]\n", erep);

I tried it and it works but I'm wondering if there might be side
effects I'm missing.

Any comments would be appreciated.
Received on Thu Oct 16 1997 - 08:01:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:17 MST