Bug #87960

No way to disable deprecation message logged to file

Added by R3 H6 9 months ago. Updated 4 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Logging
Target version:
-
Start date:
2019-03-20
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
CodingNight
Complexity:
Is Regression:
Sprint Focus:

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()


Related issues

Related to TYPO3 Core - Task #82438: Use native trigger_error and ErrorHandler for deprecations Closed 2017-09-10

History

#1 Updated by Markus Klein 9 months ago

  • Related to Task #82438: Use native trigger_error and ErrorHandler for deprecations added

#2 Updated by Rene Tobias Tobias 6 months ago

Hey, i have the same problem :(

#3 Updated by Riccardo De Contardi 4 months ago

  • Tags set to CodingNight

Also available in: Atom PDF