[TYPO3-core] RFC: #14339: Better options for deprecation log

Steffen Kamper info at sk-typo3.de
Sun May 9 14:17:54 CEST 2010


Hi,

this is SVN patch request.

Type: Bugfix

Branches: trunk

BT reference: http://bugs.typo3.org/view.php?id=14399

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

Default setting now is off which means no logging.

Use attached extension to see the result.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14339.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100509/85bdea5c/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makewrong.t3x
Type: application/octet-stream
Size: 49458 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100509/85bdea5c/attachment-0001.obj>


More information about the TYPO3-team-core mailing list