Project

General

Profile

Actions

Feature #2133

closed

accesslog support "%n" (compress ratio)

Added by liming over 14 years ago. Updated over 7 years ago.

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

Description

Administrators usually want to know the compress ratio (actual content-length / original content-length) when using mod_deflate. It's necessary for mod_accesslog to support "%n"


Files

mod_accesslog.patch (1.09 KB) mod_accesslog.patch liming, 2009-12-31 03:46
Actions #1

Updated by gstrauss almost 8 years ago

  • Target version deleted (1.5.0)
Actions #2

Updated by gstrauss almost 8 years ago

  • Category changed from mod_accesslog to mod_deflate

%{VARNAME}n means something different to Apache, and I would prefer to avoid adding conflicts.
https://httpd.apache.org/docs/current/en/mod/mod_log_config.html

As an alternative, mod_deflate might set compression ration in con->environment, which can then be logged by mod_accesslog via %{VARNAME}e

Actions #3

Updated by gstrauss over 7 years ago

  • Target version set to 1.4.43
Actions #4

Updated by gstrauss over 7 years ago

  • Category changed from mod_deflate to mod_accesslog
Actions #5

Updated by gstrauss over 7 years ago

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

Also available in: Atom