[TYPO3-core] RFC #12516: The error handling is too verbose

Oliver Hader oliver at typo3.org
Wed Nov 18 00:58:37 CET 2009


Hi Rupert,

Rupert Germann schrieb:
> Hi,
> 
> this is a SVN patch request.
> 
> Type: improvement of existing features
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12516
> 
> Branches: Trunk
> 
> Problem:
> each PHP error/warning/notice which is handled by the error handling
> produces a log entry in the sys_log table (ext:belog) and also in the
> configured syslogs. This is good for debugging but might not be a wanted
> behaviour on production sites with old extensions installed.
> 
> Solution:
> Add 2 new typo3_conf_vars for configuring which errors should be logged
> to each log:
> 
> $TYPO3_CONF_VARS['SYS']['syslogErrorReporting'] = E_ALL ^ E_NOTICE
> Configures which PHP errors should be logged to the configured syslogs
> (see: [SYS][systemLog]). If set to "0" no PHP errors are logged to the
> syslog. Default is "E_ALL ^ E_NOTICE" (6135).
> 
> $TYPO3_CONF_VARS['SYS']['belogErrorReporting'] = E_ALL ^ E_NOTICE
> Configures which PHP errors should be logged to the "syslog" table
> (extension: belog). If set to "0" no PHP errors are logged to the
> sys_log table. Default is "E_ALL ^ E_NOTICE" (6135).
> 
> Note:
> Exceptions are still logged to every available log (if an exception
> handler is registered).
> If a devlog extension is installed and
> $TYPO3_CONF_VARS['SYS']['enable_errorDLOG'] is enabled all error handler
> errors are logged to the devlog table.
> 
> 
> Reminder for me: documentation needs to be updated

+1 by reading

Some days ago a flooded log was reported to me which is solved by this
patch.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list