[TYPO3-core] RFC: minor optimisation of getRecordRaw()

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Fri Dec 1 16:45:05 CET 2006


Dmitry Dulepov schrieb:
> Hi!
> 
> Michael Stucki wrote:
>> Yes, please provide such a patch!
> 
> Done, see thread named "RFC: devLog in t3lib_db".
> 
>> There is no clear definition of when to use t3lib_div::devLog() and 
>> when to
>> use t3lib_div::sysLog(). However, I would consider devLog to be used for
>> development, and syslog for daily use (monitoring if everything works).
>>
>> So I suggest that we use sysLog instead of devLog.
> 
> I would favor syslog too but it does not accept data parameter and 
> adding such thing as a message body would cause BE to load very slowly 
> due to large amount of text information. So it will be nearly useless 
> for *quick* diagnosing of the problem. devLog (especially Robert's 
> file-based) can be installed quickly on demand and viewed with "more" 
> and "tail", so I finally decided on devLog.

Maybe you could use both. Into devLog log everything, into sysLog log 
only the immediate caller of t3lib_db-code (instead of the complete 
backtrace).

Masi


More information about the TYPO3-team-core mailing list