perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andreas.koenig.gmwoj...@franz.ak.mind.de (Andreas J. Koenig)
Subject howto streamline warnings
Date Thu, 23 Mar 2006 04:00:39 GMT
What is the recommended way to configure mod_perl's behaviour on warn()?

Is there a configurable connection between Apache::Log and
CORE::warn() or do I write a global $SIG{__WARN__}?

Background: we have already plenty of handlers that all usually use
perl's warn to write their diagnostics to error_log. We'd like to add
the timestamp of log_error to all these warnings an would like to do
it with a single line if possible.

Thanks in advance,
-- 
andreas

Mime
View raw message