Changeset 228

Show
Ignore:
Timestamp:
04/07/07 16:35:30 (2 years ago)
Author:
matt
Message:

Fix docs. Allow request log to a command via pipe.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugins/request_log

    r205 r228  
    2323 
    2424  Plugin request_log 
    25   LogFile /path/to/logfile 
     25  RequestLog /path/to/logfile 
    2626 
    2727=head1 DESCRIPTION 
     
    4545    my ($self, $value) = @_; 
    4646 
     47    if ($value =~ /^\|/) { 
     48        open(my $fh, $value) || die "open($value): $!"; 
     49        return $fh; 
     50    } 
    4751    open(my $fh, '>>', $value) || die "open(>> $value) : $!"; 
    4852    return $fh;