prefix debug log when they end up in the main log
authorAntoine Musso <hashar@free.fr>
Fri, 7 Dec 2012 15:50:58 +0000 (16:50 +0100)
committerAntoine Musso <hashar@free.fr>
Fri, 7 Dec 2012 15:53:12 +0000 (16:53 +0100)
commite32c8afe54367aa5d0b33f8b00d4f4c88838ebfe
tree97cf3e7ebb6a623ac2065fb7d8322cad3a8bb44f
parent563bacc147f19efefeb7a2284ab07e10911ee435
prefix debug log when they end up in the main log

Whenever we use wfDebugLog( "group", "message" ); and "group" is not
also set in $wfDebugLogGroups, the group information is lost. By
prefixing the message with the group name, it makes it obvious where the
message comes from.

Example output:

...
[EventLogging] wgEventLoggingSchemaIndexUri has not been configured.
[EventLogging] EventLogging requires memcached, and no memcached[...]
Fully initialised
Profiler::instance called without $wgProfiler['class'] set[...]
Connected to database 0 at
MessageGroups::init-nocache
SQL ERROR (ignored): no such table: revtag_type
MessageGroups::loadGroupDefinitions-end
[ContentHandler] Created handler for wikitext: WikitextContentHandler
[ContentHandler] Created handler for javascript: JavaScriptContentHandler
...

Change-Id: Id75401bec516b5111cd1e3d4a9b29843953ce12b
RELEASE-NOTES-1.21
includes/GlobalFunctions.php