// It is not named like a spool file, so we don't care.
if (substr($file, 0, 5) != "item-") {
- Logger::info('Spool file does does not start with "item-"', ['file' => $file]);
+ Logger::info('Spool file does not start with "item-"', ['file' => $file]);
continue;
}
2021-05-24T15:23:58Z index [INFO]: No HTTP_SIGNATURE header [] - {"file":"HTTPSignature.php","line":476,"function":"getSigner","uid":"0a3934","process_id":14826}
2021-05-24T15:30:01Z worker [NOTICE]: Load: 0.01/20 - processes: 0/1/6 (0:0, 30:1) - maximum: 10/10 {"worker_id":"ece8fc8","worker_cmd":"Cron"} - {"file":"Worker.php","line":786,"function":"tooMuchWorkers","uid":"364d3c","process_id":20754}
-2021-05-24T15:40:01Z worker [WARNING]: Spool file does does not start with "item-" {"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"} - {"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}
+2021-05-24T15:40:01Z worker [WARNING]: Spool file does not start with "item-" {"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"} - {"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}
'date' => '2021-05-24T15:40:01Z',
'context' => 'worker',
'level' => 'WARNING',
- 'message' => 'Spool file does does not start with "item-"',
+ 'message' => 'Spool file does not start with "item-"',
'data' => '{"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"}',
'source' => '{"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
]
public function testGenericLogLine()
{
self::do_log_line(
- '2021-05-24T15:40:01Z worker [WARNING]: Spool file does does not start with "item-" {"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"} - {"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
+ '2021-05-24T15:40:01Z worker [WARNING]: Spool file does not start with "item-" {"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"} - {"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
[
'date' => '2021-05-24T15:40:01Z',
'context' => 'worker',
'level' => 'WARNING',
- 'message' => 'Spool file does does not start with "item-"',
+ 'message' => 'Spool file does not start with "item-"',
'data' => '{"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"}',
'source' => '{"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
]