[Mediawiki-l] Turning on debugging messages in MediaWiki

Rob Church robchur at gmail.com
Tue Feb 20 20:13:28 UTC 2007


On 20/02/07, Lisa Ridley <lhridley at theridleys.org> wrote:
> I'm a long-time user of MediaWiki software, and recently ventured into
> writing extensions and code modifications.  I noticed when perusing the
> code files that there are a number of debugging messages scattered
> throughout with phrases calling wfDebug.  It appears that these messages
> are turned off in the production releases of MediaWiki.

These cause writes to the various debug logs; another one to look out
for is wfDebugLogFile, which directs debugging output to a specific
log group.

See $wgDebugLogFile and $wgDebugLogGroups (both commented in
includes/DefaultSettings.php) for further details.


Rob Church



More information about the MediaWiki-l mailing list