From: eldy <> Date: Mon, 21 Oct 2002 13:38:31 +0000 (+0000) Subject: Added info of config and log file name when update ran from command line. X-Git-Tag: AWSTATS_5_1_RELEASE~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4cda7ba89dbc28ba9ced0cf9bbdf4f3e9ebce2;p=thirdparty%2FAWStats.git Added info of config and log file name when update ran from command line. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 8524a45f..63883734 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -4437,7 +4437,10 @@ if ($Debug) { if ($Debug) { debug("UpdateStats is $UpdateStats",2); } if ($UpdateStats && $FrameName ne "index" && $FrameName ne "mainleft") { # Update only on index page or when not framed to avoid update twice - print "Update for config '$FileConfig'\nWith data in log file '$LogFile'...\n"; + if (! $HTMLOutput) { + print "Update for config '$FileConfig'\n"; + print "With data in log file '$LogFile'...\n"; + } my $lastprocessedyear=$lastyearbeforeupdate; my $lastprocessedmonth=$ListOfYears{$lastyearbeforeupdate}||0;