Skip to content

3.21.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 10 Sep 08:48
· 1 commit to master since this release

Included commits: 3.20.0...3.21.0

Improvements

  • Introduced LevelFlushBufferHandler to stop losing critical log records when a process is killed mid-request (for example an OOM kill or termination timeout) before the buffered handler reaches shutdown; records at or above the configured flush level, along with the context buffered before them, are now flushed immediately instead of being held in memory.
  • Introduced LogConfig::getFlushLevel() to allow projects to configure or disable the early-flush log level.
  • Adjusted LogCommunicationFactory::createBufferedStreamHandler(), Yves\Log\LogFactory::createBufferedStreamHandler(), and Glue\Log\LogFactory::createBufferedStreamHandler() to use LevelFlushBufferHandler instead of BufferHandler.

Deprecations

  • Deprecated AbstractBundleConfig-based LogConfig constants are unaffected; no deprecations were introduced for this module.