httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49844] No documentation on the logging format of RewriteLog
Date Tue, 21 Sep 2010 08:44:23 GMT

--- Comment #1 from 2010-09-21 04:44:18 EDT ---
As a start, here's the printf format and description of the fields, extracted
from mod_rewrite

"%s %s %s [%s/sid#%pp][rid#%pp/%s%s%s] %s%s%s%s"

  remote host,
  remote login name,
  HTTP user,

  HTTP host,
  virtual host ID (a memory address),

  request ID (a memory address),
  subrequest or initial request,
  count of internal redirects,

  directory (if from a per-directory rewrite),

I'm not sure how best to write that up, since custom log formatting doesn't
support some of those fields. It's approximately:

  %h %l %u [%V/sid#$sid][rid#$rid/(initial|subreq){/redir#$rcount}] {[perdir
$dir]} $msg

"()" indicates grouping, "{}" indicates a field that may not be present, and
"$" starts a field that doesn't have a custom log format specifier.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message