Fred Moyer wrote:
> Geoffrey Young wrote:
>
>>>connection, canonical_filename, header_only, main, next, prev,
>>>pool, per_dir_config, request_config, proto_num, protocol,
>>>request_time, server, the_request, unparsed_uri
>>
>>
>> opening up $r->request_line() is probably acceptable.
Geoffrey Young wrote:
connection, canonical_filename, header_only, main, next, prev,
pool, per_dir_config, request_config, proto_num, protocol,
request_time, server, the_request, unparsed_uri
opening up $r->request_line() is probably acceptable. I'd also consider
protocol and maybe pr
On Thu, 11 Jan 2007, Geoffrey Young wrote:
Philip mentioned that he wanted to shoot for the next release in
February. I'll hack out a fix for this in the coming weekend
the svn changes stas introduced are probably a good place to start:
http://svn.apache.org/viewvc?view=rev&revision=71107
> Philip mentioned that he wanted to shoot for the next release in
> February. I'll hack out a fix for this in the coming weekend
the svn changes stas introduced are probably a good place to start:
http://svn.apache.org/viewvc?view=rev&revision=71107
http://svn.apache.org/viewvc?view=rev&rev
On Wed, 10 Jan 2007, Alden DoRosario wrote:
> opening up $r->request_line() is probably acceptable.
Regarding this issue (and the follow on responses to it), my vote would
go to making it writable again. Having old code work is huge for grunts
like me. The approach above seems to have solved the
> the typical way
to do this is to add something to $r->notes and use the %{Foobar}n
Woohoo .. rock on .. this worked.
For posterity, here is what worked:
1) Add a note in the modperl code with the variable to be logged
sub append_to_log {
my ($r, $plog) = @_;
$r->notes->set('SYSINFO' =
>>>connection, canonical_filename, header_only, main, next, prev,
>>>pool, per_dir_config, request_config, proto_num, protocol,
>>>request_time, server, the_request, unparsed_uri
>>
>>
>> opening up $r->request_line() is probably acceptable. I'd also consider
>> protocol and maybe pro
Geoffrey Young wrote:
Alternatively: Can the_request in Apache::RequestRec be made writable
again so that it works like before ?
From: http://search.cpan.org/dist/mod_perl/Changes
Apache::RequestRec methods changes [Stas] - readwrite => readonly:
connection, canonical_filename, header_only
> Can anyone suggest an alternate way of modifying the log entry ?
the typical way to do this is to add something to $r->notes and use the
%{Foobar}n
syntax as documented in
http://httpd.apache.org/docs/2.0/mod/mod_log_config.html
in fact, there is a whole flood of variables you can use