Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
In the http.conf for the error log it used to be "|cronolog ..." and now its "|myscript.pl|cronolog ...". Any suggestions would be greatly appreciated.#!/usr/bin/perl -T use strict; use warnings; $|++; my $line = shift( @ARGV ); unless( defined( $line ) ){ $line = <STDIN>; } select STDOUT; $|=1; print STDOUT "$line\n" if( defined( $line ) && $line !~ m/favicon/ig ) +; exit(0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I pipe Apache to my script then to cronolog?
by kwaping (Priest) on Sep 25, 2006 at 21:33 UTC | |
by Anonymous Monk on Sep 25, 2006 at 21:43 UTC | |
|
Re: How do I pipe Apache to my script then to cronolog?
by shmem (Chancellor) on Sep 25, 2006 at 21:38 UTC |