Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 33609 invoked by uid 500); 13 Aug 2003 20:43:21 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 33595 invoked from network); 13 Aug 2003 20:43:21 -0000 Received: from server11.enhtech.com (HELO enhtech.com) (66.151.104.22) by daedalus.apache.org with SMTP; 13 Aug 2003 20:43:21 -0000 Received: from workstation8.enhtech.com [10.0.0.77] by enhtech.com with ESMTP (SMTPD32-8.00) id A2EE3A10282; Wed, 13 Aug 2003 16:43:26 -0400 Message-Id: <5.1.0.14.0.20030813164312.032dcdd0@mail.enhtech.com> X-Sender: errol.neal@enhtech.com@mail.enhtech.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 13 Aug 2003 16:43:23 -0400 To: users@httpd.apache.org From: Errol Neal Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Logging HTTP Posts Hi all, I have a client that is complaining about the length of time it takes to post large files to their php based web application hosted an dedicated apache server running Apache 1.3.26. I am trying to isolate the bottleneck and I would like to configure apache to log all http posts to a separate log file with the size of the post, file name, the time the post initiated and the time it completed. I wanted to know if this was possible by using the Log Format directive in this manner: Log Format "%h %l \"%r\" %>s %b %f %T \"%{User-agent}i\"" http-post-only And also by using the SetEnv directives like so: SetEnv Request_Method Post getpost CustomLog logs/access_log_postonly http-post-only env=getpost Would anybody like to give me any input? The apache docs say that the "%b" in the Log Format directive will log the "bytes sent, excluding HTTP headers". I would assume that in the case of the GET method this is from the server to the client, however in the caseof the POST method, is this the data sent from the client to the server? Also, the "%f". Will that capture the name of the file being posted/uploaded? And what of the "%T". Will that log the time it took for the post to be complete? Again, I would sincerely appreciate any input from you guys (and gals) and thanks in advance for your help, time and patience. Best Regards, Errol Neal Errol Neal, Systems/Network Administrator eneal@enhtech.com Enhanced Technologies Inc. http://www.enhtech.com 703-924-0301 or 800-368-3249 703-924-0302 Fax --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org