dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2993fb
)
Add example code showing to completely disable logging
author
Ori Livneh
<ori@wikimedia.org>
Thu, 19 Mar 2015 20:16:40 +0000
(13:16 -0700)
committer
BryanDavis
<bdavis@wikimedia.org>
Thu, 19 Mar 2015 22:10:37 +0000
(22:10 +0000)
Change-Id: I965e1ff51fe31579cf24502b148d9fad971cd298
includes/DefaultSettings.php
patch
|
blob
|
history
diff --git
a/includes/DefaultSettings.php
b/includes/DefaultSettings.php
index
64cfd17
..
1df809e
100644
(file)
--- a/
includes/DefaultSettings.php
+++ b/
includes/DefaultSettings.php
@@
-5320,6
+5320,11
@@
$wgDebugLogGroups = array();
* inject an MWLoggerSpi instance into MWLoggerFactory and bypass the use of
* this configuration variable entirely.
*
+ * @par To completely disable logging:
+ * @code
+ * $wgMWLoggerDefaultSpi = array( 'class' => 'MWLoggerNullSpi' );
+ * @endcode
+ *
* @since 1.25
* @var array $wgMWLoggerDefaultSpi
* @see MwLogger