On Thu, Dec 06, 2001 at 02:11:28PM -0800, Lance Uyehara wrote:
> I am using apache+mod_perl and have:
>
> ErrorLog syslog
> PerlWarn On
>
> However the warning don't come out. If I change to "ErrorLog
> /var/log/logfile" or something similar then the warning start appearing. How
> do I get the warnings when syslog is used?
I've seen various problems with Apache's built in syslog under
mod_perl. The solution that I've been using lately is:
ErrorLog "| logger -p local3.debug"
If you just print to STDERR you might want to look at Apage::LogSTDERR
on CPAN.
--
Paul Lindner [EMAIL PROTECTED] ||||| | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm