From 09d0d4957f0013c0b83843ccf5e254d0e395518e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 21 Mar 2017 14:42:11 +0100 Subject: [statistics_reporting] cron: Write message to event log on successful submit --- modules-available/statistics_reporting/hooks/cron.inc.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules-available/statistics_reporting') diff --git a/modules-available/statistics_reporting/hooks/cron.inc.php b/modules-available/statistics_reporting/hooks/cron.inc.php index a48f74c2..45f39719 100644 --- a/modules-available/statistics_reporting/hooks/cron.inc.php +++ b/modules-available/statistics_reporting/hooks/cron.inc.php @@ -18,6 +18,8 @@ if (RemoteReport::isReportingEnabled()) { if ($code != 200) { EventLog::warning("Statistics Reporting failed: " . $code, $result); + } else { + EventLog::info('Statistics report sent to ' . CONFIG_REPORTING_URL); } } } \ No newline at end of file -- cgit v1.2.3-55-g7522