Wrong default log message type
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3177349. --> Reported by: [claudiu.cristea](https://www.drupal.org/user/56348) >>> <p>It seems that we are using a the mail as default log method. This is wrong, we should use the OS log system. The error is in <code>\Drupal\error_page\ErrorPagePhpErrorLogger::log(</code>), line 21. According to <a href="https://www.php.net/manual/en/function.error-log.php">https://www.php.net/manual/en/function.error-log.php</a>, the $message_type should be <code>0</code> but it's <code>1</code>.</p>
issue