Adds DI::flushLogger() to renew Logger instances

This commit is contained in:
Philipp 2021-10-31 20:15:57 +01:00
parent 7637ae1dcc
commit 32f0c3fb9c
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 13 additions and 2 deletions

View file

@ -1182,7 +1182,7 @@ class Worker
// We now are in the new worker
DBA::connect();
/// @todo Reinitialize the logger to set a new process_id and uid
DI::flushLogger();
$process = DI::process()->create($pid);
$cycles = 0;