On Tue, 23 May 2000, Amy wrote:

> 
> Is there an easy way to override warn() the way Apache 
> overrides die() - I'm trying to disable warn() calls in
> production without changing any code. I think I should 
> probably be using Apache::Log, but is there an easier 
> way to accomplish this without changing code?

you can:

use Apache qw(warn);

which overrides the builtin with Apache::warn.  to enable those warnings,
in httpd.conf:

LogLevel warn (or debug)

to disable:

LogLevel error

Reply via email to