Project

General

Profile

Feature #2133

accesslog support "%n" (compress ratio)

Added by liming over 10 years ago. Updated almost 4 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
#1

Updated by gstrauss about 4 years ago

  • Target version deleted (1.5.0)
#2

Updated by gstrauss about 4 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

#3

Updated by gstrauss almost 4 years ago

  • Target version set to 1.4.43
#4

Updated by gstrauss almost 4 years ago

  • Category changed from mod_deflate to mod_accesslog
#5

Updated by gstrauss almost 4 years ago

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

Also available in: Atom