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

Holzinger Franz franz at fholzinger.com
Tue Jan 3 09:47:14 CET 2006


Hello Martin,

>>For me TYPO3 is mainly a shop system ;-) .
>>I thought we could use both variants, one with DevLog and one with
>>error_log ­--> additional parameter. Some people want this the others
>>that.
>>    
>>
>
>
>Huh? devLog and sysLog are two distinct functions.
>  
>
Ok. that is clear now.

>
>Why? error_log does also write to a file and we don't need the custom file locking (when typ3 is 3).
>
>See http://www.php.net/manual/en/function.error-log.php
>I realized this only after having written variant 1. So it's either or, fwrite and error_log() simply makes no sense.
>
>  
>
I prefer the error_log variant. But I want to have the int message_type
and string destination as a paramter in the function. So it would even
be possible to send an email with this.
The email should be sent automatically instead of dying here. It would
not be nice if a online page would not continue to work when there is no
space left on the disk for the log file.


Regards,

Franz






More information about the TYPO3-team-core mailing list