Просмотр исходного кода

match cron logfile format to match project default

Olivier Massot 1 год назад
Родитель
Сommit
c00146c07e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Commands/CronCommand.php

+ 1 - 1
src/Commands/CronCommand.php

@@ -240,7 +240,7 @@ class CronCommand extends Command
                           ($jobName !== null ? "[" . $jobName . "] " : "") .
                           "%channel%.%level_name%: %message% %context% %extra%\n";
 
-                $handler->setFormatter(new LineFormatter($format, 'Y-m-d H:i:s.u'));
+                $handler->setFormatter(new LineFormatter($format, 'Y-m-d H:i:s.v'));
             }
         }
     }