[TYPO3-core] RFC: error logging for the Core

Martin Kutschker Martin.Kutschker at blackbox.net
Mon Jan 2 10:21:26 CET 2006


This is a CVS patch request.

Branch: HEAD or TYPO3_4-0

Problem: In the Core some errors like failed DB connect are not handled properly (read: not at all) or are only handled with a die.

Solution: Add a system logging to t3lib_div. The first implementation uses a file configured via TYPO3_CONF_VARS. The second uses PHP's error_log. 

In config_default.php a default to typo3conf/system.log could be set. An idea for a hook extension is to use syslog() directly or do some fancy custom logging (eg mailing the message).

Masi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 2421 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060102/0d071d5b/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 2153 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060102/0d071d5b/attachment-0001.bin 


More information about the TYPO3-team-core mailing list