Repository navigation
3.21.0
·
1 commit
to master
since this release
Included commits: 3.20.0...3.21.0
Improvements
- Introduced
LevelFlushBufferHandlerto 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(), andGlue\Log\LogFactory::createBufferedStreamHandler()to useLevelFlushBufferHandlerinstead ofBufferHandler.
Deprecations
- Deprecated
AbstractBundleConfig-basedLogConfigconstants are unaffected; no deprecations were introduced for this module.