Printing out what queries are being used when a page is rendered...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Printing out what queries are being used when a page is rendered...

Joe-53

Is there a debug function which will print out all queries which are
being used when a page is being rendered ?



--
Joe
Custom Applications & Scripts
http://wiki.anotherwebcom.com/
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Printing out what queries are being used when a page is rendered...

Rob Church
Set up a debug log file as described at
http://www.mediawiki.org/wiki/Help:%24wgDebugLogFile and then switch
$wgDebugDumpSql on. This will dump SQL queries to the debug log.


Rob Church

On 24/03/06, Joe <[hidden email]> wrote:

>
> Is there a debug function which will print out all queries which are
> being used when a page is being rendered ?
>
>
>
> --
> Joe
> Custom Applications & Scripts
> http://wiki.anotherwebcom.com/
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l