Hi Jim,
One thing you could try--this is a hack, not a solution--is to use Apache::Log,
create a subroutine to be used as a PerlLogHandler, and use $r->push_handler
to make sure it gets called. Or create a separate module and set that as the
PerlLogHandler in the conf file.
Or, even more of a hack, use $r->log->warn("message") (or $r->log->error() or
whatever) and do it yourself.
darren
Jim Goodwin ([EMAIL PROTECTED]) wrote:
> Hello,
>
> I posted this previously, but I may not have worded it properly. I'll
> try again here.. Sorry for the inconvenience - I won't post it again.
>
> We are running a Stronghold server 2.4.2 and mod perl 1.19. Our mod perl
> scripts are run as .pl, and they work fine.
>
> Because of the nature of mod perl, we only get one 'hit' in the
> Stronghold access logs when the .pl scripts are run. After that, once
> they're in memory subsequent requests do not appear in the access log
> (although the images etc that the .pl scripts call do appear in the
> logs).
>
> Would adding something like: use Apache::Constants to the .pl script
> result in each request being logged?
>
> Sorry if this has been answered elsewhere, or if it's too obvious. I
> could not find information on this anywhere.
>
> If anyone can help or point me in the right direction I would appreciate
> it. Thanks
>
> Jim Goodwin
>
--
Paul's Law: You can't fall off the floor.