Hello all...

When a misconfiguration occurs, we receive a new line in the apache error logs that is not in the standard error log format (I assume since MP is writing to STDERR). Short of changing all of our scripts to properly log, is there a quicker method to accomplish the following change:

Change this:

Can't locate /www/path/goes/here//config.pl in @INC (@INC contains: /usr/local/lib/perl5/5.8.4/i686-linux /usr/local/lib/perl5/5.8.4 /usr/local/lib/perl5/site_perl/5.8.4/i686-linux /usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl .) at /www/example.com/cgi-bin/example.cgi line 64.

To this:

[Thu May 19 08:47:41 2005] [error] [MODULENAME Can't locate /www/path/goes/here//config.pl in @INC (@INC contains: /usr/local/lib/perl5/5.8.4/i686-linux /usr/local/lib/perl5/5.8.4 /usr/local/lib/perl5/site_perl/5.8.4/i686-linux /usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl .) at /www/example.com/cgi-bin/example.cgi line 64.

Thanks in advance!

Reply via email to