[TYPO3-core] RFC: Resubmission of feature #1585: Logfile by Request URI + configuration of Empty Referer handling + logline hook

Steffen Kamper steffen at sk-typo3.de
Sun Mar 2 18:11:38 CET 2008


"Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb im 
Newsbeitrag 
news:mailman.1.1204476693.11558.typo3-team-core at lists.netfielders.de...
> Steffen Kamper schrieb:
>> "Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb 
>> im Newsbeitrag 
>> news:mailman.1.1204472123.827.typo3-team-core at lists.netfielders.de...
>>> class t3lib_div {
>>>   const SYSLOG_SEVERITY_INFO = 0;
>>> }
>>>
>>
>> this is not bad but has a long call
>> t3lib_div::SYSLOG_SEVERITY_INFO
>>
>> so i would prefer the global constants for it.
>
> But you should make it T3LIB_DIV_SYSLOG_SEVERITY_INFO and not simply 
> TYPO3_SEVERITY_INFO so there's not much to gain.
>
> Besides, we should get used to longer names to be ready for 5.0 :-)
>
> Masi

:) I used SYSLOG_SEVERITY_INFO which is imho expressive enough because 
prefix SYSLOG
Using T3LIB_DIV is too much for it, maybe we move this some day to a 
t3lib_log and then we have to rename all constants.

vg  Steffen 




More information about the TYPO3-team-core mailing list