Skip to content

Commit

Permalink
6.9.9: #145
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 21, 2020
1 parent 69c5b3d commit cb136f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Cron/Model/LoggerHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ function handle(array $d) {return self::p($d) || parent::handle($d);}
static function p(array $d) {
$m = dfa($d, 'message'); /** @var string $m */
return
# 2020-10-22
# "Prevent Magento from logging «Could not acquire lock for cron group» messages":
# https://github.com/mage2pro/core/issues/145
df_starts_with($m, 'Could not acquire lock for cron group')
/**
* 2019-12-24
* "Prevent the `Mirasvit\ReportApi` module from logging successful cron events":
Expand All @@ -38,7 +42,7 @@ static function p(array $d) {
* 'request' => $request->toArray(),
* ]);
*/
df_starts_with($m, 'ReportApi')
|| df_starts_with($m, 'ReportApi')
# 2019-10-13
# "Disable the logging of «Add of item with id %s was processed» messages to `system.log`":
# https://github.com/kingpalm-com/core/issues/36
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/core"
,"version": "6.9.8"
,"version": "6.9.9"
,"description": "Mage2.PRO core package."
,"type": "magento2-module"
,"homepage": "https://mage2.pro"
Expand Down

0 comments on commit cb136f3

Please sign in to comment.