Skip to content
Extraits de code Groupes Projets
Valider 39e34edf rédigé par mattab's avatar mattab
Parcourir les fichiers

Refs #8777 tweak summary log messages output for more clarity

parent 9d663a3d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -418,16 +418,16 @@ class CronArchive ...@@ -418,16 +418,16 @@ class CronArchive
$this->logger->info("Archived today's reports for {$this->websitesWithVisitsSinceLastRun} websites"); $this->logger->info("Archived today's reports for {$this->websitesWithVisitsSinceLastRun} websites");
$this->logger->info("Archived week/month/year for {$this->archivedPeriodsArchivesWebsite} websites"); $this->logger->info("Archived week/month/year for {$this->archivedPeriodsArchivesWebsite} websites");
$this->logger->info("Skipped {$this->skipped} websites"); $this->logger->info("Skipped {$this->skipped} websites");
$this->logger->info("- Skipped {$this->skippedDayNoRecentData} websites: no new visit since the last script execution"); $this->logger->info("- {$this->skippedDayNoRecentData} skipped because no new visit since the last script execution");
$this->logger->info("- Skipped {$this->skippedDayArchivesWebsites} websites: existing daily reports are less than {$this->todayArchiveTimeToLive} seconds old"); $this->logger->info("- {$this->skippedDayArchivesWebsites} skipped because existing daily reports are less than {$this->todayArchiveTimeToLive} seconds old");
$this->logger->info("- Skipped {$this->skippedPeriodsArchivesWebsite} websites: existing week/month/year periods reports are less than {$this->processPeriodsMaximumEverySeconds} seconds old"); $this->logger->info("- {$this->skippedPeriodsArchivesWebsite} skipped because existing week/month/year periods reports are less than {$this->processPeriodsMaximumEverySeconds} seconds old");
if($this->skippedPeriodsNoDataInPeriod) { if($this->skippedPeriodsNoDataInPeriod) {
$this->logger->info("- Skipped {$this->skippedPeriodsNoDataInPeriod} websites week/month/year archiving: no visit in recent days"); $this->logger->info("- {$this->skippedPeriodsNoDataInPeriod} skipped periods archiving because no visit in recent days");
} }
if($this->skippedDayOnApiError) { if($this->skippedDayOnApiError) {
$this->logger->info("- Skipped {$this->skippedDayOnApiError} websites: got an error while querying reporting API"); $this->logger->info("- {$this->skippedDayOnApiError} skipped because got an error while querying reporting API");
} }
$this->logger->info("Total API requests: {$this->requests}"); $this->logger->info("Total API requests: {$this->requests}");
......
...@@ -129,9 +129,9 @@ Total visits for today across archived websites: 1 ...@@ -129,9 +129,9 @@ Total visits for today across archived websites: 1
Archived today's reports for 1 websites Archived today's reports for 1 websites
Archived week/month/year for 1 websites Archived week/month/year for 1 websites
Skipped 0 websites Skipped 0 websites
- Skipped 0 websites: no new visit since the last script execution - 0 skipped because no new visit since the last script execution
- Skipped 0 websites: existing daily reports are less than 150 seconds old - 0 skipped because existing daily reports are less than 150 seconds old
- Skipped 0 websites: existing week/month/year periods reports are less than 3600 seconds old - 0 skipped because existing week/month/year periods reports are less than 3600 seconds old
Total API requests: %s Total API requests: %s
done: 1/1 100%, 1 vtoday, 1 wtoday, 1 wperiods, %s req, %s ms, no error done: 1/1 100%, 1 vtoday, 1 wtoday, 1 wperiods, %s req, %s ms, no error
Time elapsed: %s Time elapsed: %s
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter