[TYPO3-core] RFC: error logging for the Core
Martin Kutschker
Martin.Kutschker at blackbox.net
Fri Jan 13 14:50:38 CET 2006
Martin Kutschker writes on
Fri, 06 Jan 2006 17:22:15 +0100 (MET):
>
> The new options are:
>
> $TYPO3_CONF_VARS['SYS']['systemLog'] = <option>[;<option>,...]
> option = <type>[,<destination>[,<level>]
> type = <string>
> destination = <string>[/<string>]
> level = <int>
>
> file,/path/to/log/file,2
> mail,user at domain.tld
> mail,to at domain.tld/from at domain.tld
> syslog,local1
> error_log,,3
> This code includes the init function but not the actual call.
So another patch is necessary for eg ts_init.php.
Log string depending on context:
> Web: <protocol>://<request-hostame>
> CLI: <fqdn-hostname>:<TYPO3-path>
Any comments on this version of the patch? Is there noone besides Michael who thinks logging might come in handy?
Masi
More information about the TYPO3-team-core
mailing list