exception: Do not log PHP errors with severity DEBUG or INFO
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 24 Aug 2018 20:13:57 +0000 (21:13 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 6 Sep 2018 02:42:09 +0000 (03:42 +0100)
commitef06b528d9f34d118fe8b750eeb8aebc16da3ec8
treeac3a592a05d2609e02a0c7de983da85a3e4602f1
parent1ded08465bab88d58e722dcf5b496d2e5a557023
exception: Do not log PHP errors with severity DEBUG or INFO

All PHP errors should be considered by monitoring queries
and error-rate alerts.

Levels DEBUG and INFO are for manual entries that can help in
debugging to see what path a program went down or what the
circumstances were in that code.

There is no reason to spread PHP error-types out on the full range
of PSR-3's DEBUG to ERROR spectrum. Instead, keep it within either
WARNING or ERROR, not below it.

Change-Id: I3f35a519b50aef5b93b9ab7a89a7c3e11d70681f
includes/exception/MWExceptionHandler.php