Skip to content
Snippets Groups Projects
Commit 6f4c546d authored by catch's avatar catch
Browse files

Issue #2863464 by efpapado, cburschka, longwave, lhridley: Demote cron log...

Issue #2863464 by efpapado, cburschka, longwave, lhridley: Demote cron log entries from "notice" to "info"
parent 5fd7a7a1
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ protected function setCronLastTime() {
// Record cron time.
$request_time = $this->time->getRequestTime();
$this->state->set('system.cron_last', $request_time);
$this->logger->notice('Cron run completed.');
$this->logger->info('Cron run completed.');
}
/**
......@@ -232,12 +232,12 @@ protected function invokeCronHandlers() {
foreach ($this->moduleHandler->getImplementations('cron') as $module) {
if (!$module_previous) {
$logger->notice('Starting execution of @module_cron().', [
$logger->info('Starting execution of @module_cron().', [
'@module' => $module,
]);
}
else {
$logger->notice('Starting execution of @module_cron(), execution of @module_previous_cron() took @time.', [
$logger->info('Starting execution of @module_cron(), execution of @module_previous_cron() took @time.', [
'@module' => $module,
'@module_previous' => $module_previous,
'@time' => Timer::read('cron_' . $module_previous) . 'ms',
......@@ -257,7 +257,7 @@ protected function invokeCronHandlers() {
$module_previous = $module;
}
if ($module_previous) {
$logger->notice('Execution of @module_previous_cron() took @time.', [
$logger->info('Execution of @module_previous_cron() took @time.', [
'@module_previous' => $module_previous,
'@time' => Timer::read('cron_' . $module_previous) . 'ms',
]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment