-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Lisa Ridley 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.
Can anyone tell me where the "switch" resides that will turn on these messages?
Set $wgDebugLogFile to point to a (writable) file; debug messages will be sent there.
Note that you can also assign messages to individual log files by using wfDebugLog() instead of wfDebug() and setting up separate files for the groups you're interested in in $wgDebugLogGroups
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)