View Single Post
Old 07-23-2011, 04:00 PM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
oops

Quote:
Originally Posted by Barry-xlovecam View Post
I am going to take a wild guess ... since you have goten no answer.

Set up a awstats install 'mutiple_sites'
and in the configuration file point the log's variable to
Code:
my @logfile1="/path/logfile1.log";
my @logfile2="/path/logfile2.log";
my @logfile3="/path/logfile3.log";

my @multiple_logs = (@logfile1, @logfile2, @logfile3);
my $log_path = @multiple_logs;

In other words, create an array of the log files then rename that array to the original variable name.

Might work, never tried to make a $string from an @array of log file lines ...

Good coding experiment anyway :P
That's what I get for trying to think on a Saturday :P

And this thread made be buy the O'Rilley grep Cookbook, was only $7.99 Kindle version — tax deductible work related educational material.

Last edited by Barry-xlovecam; 07-23-2011 at 04:02 PM..
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote