spelling: does
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
52a25ce618
commit
ab4689e1b6
4 changed files with 5 additions and 5 deletions
|
@ -38,7 +38,7 @@ class SpoolPost {
|
||||||
|
|
||||||
// It is not named like a spool file, so we don't care.
|
// It is not named like a spool file, so we don't care.
|
||||||
if (substr($file, 0, 5) != "item-") {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
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: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: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}
|
||||||
|
|
|
@ -94,7 +94,7 @@ class ParsedLogIteratorTest extends TestCase
|
||||||
'date' => '2021-05-24T15:40:01Z',
|
'date' => '2021-05-24T15:40:01Z',
|
||||||
'context' => 'worker',
|
'context' => 'worker',
|
||||||
'level' => 'WARNING',
|
'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"}',
|
'data' => '{"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"}',
|
||||||
'source' => '{"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
|
'source' => '{"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
|
||||||
]
|
]
|
||||||
|
|
|
@ -43,12 +43,12 @@ class ParsedLogLineTest extends TestCase
|
||||||
public function testGenericLogLine()
|
public function testGenericLogLine()
|
||||||
{
|
{
|
||||||
self::do_log_line(
|
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',
|
'date' => '2021-05-24T15:40:01Z',
|
||||||
'context' => 'worker',
|
'context' => 'worker',
|
||||||
'level' => 'WARNING',
|
'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"}',
|
'data' => '{"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"}',
|
||||||
'source' => '{"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
|
'source' => '{"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue