Project

General

Profile

Actions

Bug #1890

closed

%X in accesslog.format not working as expected

Added by gerald about 15 years ago. Updated almost 8 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_accesslog
Target version:
ASK QUESTIONS IN Forums:

Description

I'm running 1.4.19-0ubuntu3 on Ubuntu 8.04. It looks like "%X" in accesslog.format doesn't show "X" for aborted transfers. For example, if I add

accesslog.format = "%h V %u %t \"%r\" %>s %b \"{Referer}i\" \"%{User-Agent}i\" \"%{Content-Length}o\" %X"

to my configuration, then start a transfer using wget and hit ^C before it's finished, the following shows up in the access log:

x.y.z.q media-2.cacetech.com - [06/Feb/2009:14:11:37 0800] "GET /wireshark/prerelease/WiresharkPortable-0.99.8pre1.paf.exe HTTP/1.0" 200 880321 "" "Wget/1.11.4" "17021795" +

The transfer clearly didn't finish (880321 << 17021795). Shouldn't there be an "X" at the end of the log file entry?

Is there any other way to signal an aborted transfer in the log file? Right now, AWStats is inflating my download stats and I'd rather have accurate numbers.

Actions #1

Updated by gstrauss almost 8 years ago

  • Category set to mod_accesslog
Actions #2

Updated by gstrauss almost 8 years ago

  • Status changed from New to Patch Pending
  • Target version set to 1.4.40
Actions #3

Updated by gstrauss almost 8 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100
Actions

Also available in: Atom