[vhffs-dev] [2098] fixed web stats mergelog

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2098
Author:   gradator
Date:     2012-03-03 14:59:31 +0100 (Sat, 03 Mar 2012)
Log Message:
-----------
fixed web stats mergelog

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Robots/Web.pm

Modified: trunk/vhffs-api/src/Vhffs/Robots/Web.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Robots/Web.pm	2012-03-02 23:00:27 UTC (rev 2097)
+++ trunk/vhffs-api/src/Vhffs/Robots/Web.pm	2012-03-03 13:59:31 UTC (rev 2098)
@@ -225,7 +225,7 @@
 
 	# Merge all logs
 	open( my $mergedoutput, '>', $log_incoming_root.'/mergedlog' );
-	my $childpid = open( my $output, '-|', 'mergelog', ( map { $_->{path}.'/vhffs.log.0' if -f $_ } @webservers ) );
+	my $childpid = open( my $output, '-|', 'mergelog', ( map { $_->{path}.'/vhffs.log.0' } @webservers ) );
 	if($childpid) {
 		# read process output and print to destination
 		while(<$output>) { print $mergedoutput $_; }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/