httpd-bugs mailing list archives

DO NOT REPLY [Bug 49844] No documentation on the logging format of RewriteLog

Date

Tue, 21 Sep 2010 11:33:11 GMT

https://issues.apache.org/bugzilla/show_bug.cgi?id=49844
--- Comment #2 from Stefan Nowak <p.org@gmx.at> 2010-09-21 07:33:09 EDT ---
PROPOSAL FOR HOW TO WRITE UP THE DOCUMENTATION:
(How I, from the user perspective, would like to have it)
1) Log line format (as you wrote it)
2) Syntax annotations for (1) (as you wrote it)
3) A table which describes all the variable names, like at:
http://httpd.apache.org/docs/current/mod/mod_log_config.html#formats
4) Some sample lines, as examples are always good for understanding!
FURTHER QUESTIONS:
Q.1) My log lines, as generated by httpd 2.0.63, look a bit different than
yours. I try to show you its syntax, using pseudo variables for the observed
differences:
%h %l %u [$date] [%V/sid#$sid][rid#$rid/(initial|subreq)] {\($rcount\)}
{[perdir
$dir]} $msg
[$date] A date with a formatting like [30/Aug/2010:16:14:34 +0200]
{\($rcount\)} The optional counter comes AFTER the square brackets which
enclose the request ID group, within LITERAL round brackets, i.e. (3).
Q.2) How shall I interpret $rcount?
If I see this counter in a log line, does it mean:
a) This log line represents the N-th cycle of an internal redirect?
or
b) In the process logged in this line, httpd has used N internal redirects?
I ain't sure, as my subsequent log lines show $rcount numerical series like:
2,3,5,4,4,5,4,2,2,1,1,2,3,1,...
which are more logically explained by (b) as (a) would create numerical series,
which steadily increase, and at the end fall back to 1, like:
1,2,3,1,2,3,4,1,2,1,2,3,...
THANKS for answers in advance!
--
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