Bug #1890
closed%X in accesslog.format not working as expected
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.
Updated by gstrauss over 8 years ago
- Status changed from New to Patch Pending
- Target version set to 1.4.40
Updated by gstrauss over 8 years ago
- Status changed from Patch Pending to Fixed
- % Done changed from 0 to 100
Applied in changeset 45021708bf9e3f3adb33c76892184b3f3a2e6d6a.
Also available in: Atom