Bug #65577
Updated by Markus Klein about 9 years ago
Logging exceptions via Logging API does not print them as the LogRecord processes the exception through json_encode which results in an empty object. Testcode: <pre><code class="php"> class="php" <?php ini_set('zlib.output_compression',0); header('Content-type: text/plain; charset=utf-8'); $e = new Exception('foo'); $msg = (string)$e; $msg2 = json_encode($e); echo $msg; echo "\n\n"; echo $msg2; </code></pre> @$msg2@ gives an empty result @{}@.