Issue Bug Closed

#87960No way to disable deprecation message logged to file

Remo H. 03/20/19, 10:55 updated 03/25/20, 12:53

Description

Any call to GeneralUtility::deprecationLog creates one line:

20-03-2019 05:26: GeneralUtility::deprecationLog() will be removed in TYPO3 v10.0, use "trigger_error("Given reason", E_USER_DEPRECATED);" to log deprecations.

This line is written even when following option is set:

$GLOBALS['TYPO3_CONF_VARS']['LOG']['TYPO3']['CMS']['deprecations']['writerConfiguration'][\TYPO3\CMS\Core\Log\LogLevel::NOTICE] = [];

Usually some plugin like news, vhs, etc call GeneralUtility::deprecationLog()

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.