[Typo3-dev] DBAL usage question

Rainer Kuhn kuhn at punkt.de
Mon Apr 25 10:31:05 CEST 2005


Hi,

Karsten Dambekalns wrote:
> Rainer Kuhn wrote:
> 
>>I'm going to rewrite my extensions step by step using TYPO3 DBAL. In my
>>existing non-DBAL code I stored all SQL queries and their results in some
>>kind of trace log (using my method $this->traceLog()). I would like to
>>keep this way of logging, so I need the queries assembled by the DBAL
>>functions as a string for my log.
> 
> If you enable DBAL logging you can have all queries logged. If you want to
> know what happens, often (at least during development) the easiest way is
> to have MySQL log all the queries, though. Is this an option here?

That's not really what I want, as my tracing function traces the whole 
extension processing, not only SQL queries. This complete information 
alternatetively can be displayed in the browser instead of logging, so 
during development it's a very quick and handy tool me and others don't want 
to miss...

Rainer




More information about the TYPO3-dev mailing list