perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Bloodgood" <>
Subject RE: One more small Apache::Reload question
Date Wed, 01 Aug 2001 18:21:27 GMT
> However, now my logs are loaded with  a ton of subroutine redefined
> (which is normal I suppose?).  I can certainly live with this in a
> development environment, but thought I would check to see if it is
> and if it can be turned off while still enabling Reload.

Well, first of all, you will want to turn off Apache::Reload during
production.  All of those stat()'s will slow down your server speed
significantly, as the disk is kept busy for each request.

Secondly, how is it you view your logs?  I have a window running tail -f
with a grep filter:

tail -f /var/log/httpd/error_log | egrep -v

This way, I get the "best of both worlds," by ignoring the noise:

# use constant SIGNATURE => 'TSTAT';
Constant subroutine SIGNATURE redefined at
/usr/lib/perl5/5.00503/ line 175.

# One of my module's subroutines.. there are 15 of these
Subroutine test_handler redefined at /etc/httpd/lib/perl/Stat/ line

I have AuthenCache in my filter because at LogLevel debug,
Apache::AuthenCache is *noisy*!!



#!/usr/bin/perl -w
use Disclaimer qw/:standard/;

View raw message