httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49844] No documentation on the logging format of RewriteLog
Date Tue, 21 Sep 2010 08:44:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49844

--- Comment #1 from ww.galen@gmail.com 2010-09-21 04:44:18 EDT ---
As a start, here's the printf format and description of the fields, extracted
from mod_rewrite
(http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?view=markup#l437):

"%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),
  text

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message