Review 9.5 Merged

60472[BUGFIX] Fix serialization of loggers

Susi Moog CR +2 V +2 Easy +24 −19 updated 04/14/19, 16:17

Commit message

Only dealing with PHP file resource in writers is not
enough to properly initialize a logger on wakeup.

A logger has to log with a new request IDs and possibly completely new writers
and processors due to configuration changes in the meantime.

Therefore the __sleep and __wakeup methods are removed in the FileWriter
and new methods are added to the logger instance to make sure a
wakeup will have a correctly configured logger instance.

Review

  • Code review CR +2 Done
    • Susi Moog +2
  • Verified V +2 Done
    • Susi Moog +2
    • TYPO3com +1 CI

Issues 2

Files 2

Review log 34

  1. Susi Moog commented on patch set 1 04/14/19, 15:58

    Cherry Picked from branch master.
  2. TYPO3com voted on patch set 1 V +1 04/14/19, 16:14 Completed build in 16m 13s on Sun, 14 Apr, 06:14 PM Test Summary: 50115 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC95-505

  3. Susi Moog commented on patch set 1 V +2 CR +2 04/14/19, 16:17

    straight backport, straight merge.
  4. Susi Moog merged patch set 2 04/14/19, 16:17