Skip to content

Commit

Permalink
Component/Logging: contribute cron jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
nhaagen committed Dec 16, 2024
1 parent 02570c8 commit 6192bd9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/ILIAS/Logging/Logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,11 @@ public function init(
new \ilLoggingSetupAgent(
$pull[\ILIAS\Refinery\Factory::class]
);
$contribute[\ILIAS\Cron\CronJob::class] = static fn() =>
new \ilLoggerCronCleanErrorFiles(
'components\\' . self::class,
$use[\ILIAS\Language\Language::class],
true
);
}
}

0 comments on commit 6192bd9

Please sign in to comment.