on 10/28/03 6:24 PM, Stas Bekman at [EMAIL PROTECTED] wrote: > Eric Moore wrote: >> Having googl'd and read various faqs, cookbooks... >> >> Site worked OK under CGI, but slowly -- on an old machine. >> >> I have converted to mod_perl only using the Apache::Registry. Application >> uses CGI::App and HTML::Template. >> >> Site runs faster now, but warnings disappeared from all logs. [errors] show >> up, but not warnings. >> >> Any ideas on what I'm doing wrong? > > Try adding: > > PerlWarn On
Thanks. After playing with a simple test script, I see the errors go to the virtual_host.error_log, but warnings go to the error_log. Is this correct? httpd: LogLevel warn .... test.pl print "Content-type: text/html\n\n"; print "mod_perl working\n"; warn "This is a warning";