浏览代码

update cleandb logging messages

Olivier Massot 1 年之前
父节点
当前提交
87b6c0720c
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/Service/Cron/Job/CleanDb.php

+ 3 - 3
src/Service/Cron/Job/CleanDb.php

@@ -97,7 +97,7 @@ class CleanDb extends BaseCronJob implements CronjobInterface
      */
     protected function purgeAuditTables(\DateTime $maxDate): int
     {
-        $this->ui->print('Purge Audit tables');
+        $this->ui->print('Purge Audit_* tables');
 
         $tableNames = $this->connection->getSchemaManager()->listTableNames();
 
@@ -130,7 +130,7 @@ class CleanDb extends BaseCronJob implements CronjobInterface
      */
     protected function purgeMessages(\DateTime $maxDate): int
     {
-        $this->ui->print('Purge DB from records of message create before '.$maxDate->format('c'));
+        $this->ui->print('Purge the DB from the messages created before the '.$maxDate->format('c'));
 
         $q = $this->connection->createQueryBuilder();
 
@@ -150,7 +150,7 @@ class CleanDb extends BaseCronJob implements CronjobInterface
      */
     protected function purgeNotifications(\DateTime $maxDate): int
     {
-        $this->ui->print('Purge DB from records of notifications create before '.$maxDate->format('c'));
+        $this->ui->print('Purge the DB from the notifications created before the '.$maxDate->format('c'));
 
         $q = $this->connection->createQueryBuilder();