Re: Modifying the Apache Log Entry

2007-01-28 Thread Geoffrey Young
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.

Re: Modifying the Apache Log Entry

2007-01-28 Thread Fred Moyer
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

Re: Modifying the Apache Log Entry

2007-01-11 Thread Fred Moyer
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

Re: Modifying the Apache Log Entry

2007-01-11 Thread Geoffrey Young
> 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

Re: Modifying the Apache Log Entry

2007-01-10 Thread Fred Moyer
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

Re: Modifying the Apache Log Entry

2007-01-10 Thread Alden DoRosario
> 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' =

Re: Modifying the Apache Log Entry

2007-01-10 Thread Geoffrey Young
>>>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

Re: Modifying the Apache Log Entry

2007-01-10 Thread Fred Moyer
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

Re: Modifying the Apache Log Entry

2007-01-09 Thread Geoffrey Young
> 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