Project

General

Profile

Actions

Bug #22613

closed

Better options for deprecation log

Added by Steffen Kamper over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2010-05-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It's really useful for detecting deprecated calls. However the logging is imho to static:
1) you only can switch it on / off
2) if on it writes always to file and to dev log which floods both

The patch adds a finer switch

$TYPO3_CONF_VARS['SYS']['enableDeprecationLog'] = 'file,log,console'

'file' - write to file
'log' - write to dev log
'console' - show in debug console

(issue imported from #M14339)


Files

14339.diff (5.85 KB) 14339.diff Administrator Admin, 2010-05-09 14:07
Actions #1

Updated by Steffen Kamper over 14 years ago

committed to trunk rev 7616

Actions

Also available in: Atom PDF