Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105961 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 63103 invoked from network); 17 Jun 2019 19:52:00 -0000 Received: from unknown (HELO supernova.coretech.se) (213.134.98.20) by pb1.pair.com with SMTP; 17 Jun 2019 19:52:00 -0000 Received: by supernova.coretech.se (Postfix, from userid 1000) id DBA914A004; Mon, 17 Jun 2019 19:10:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by supernova.coretech.se (Postfix) with ESMTP id D478C80D5103 for ; Mon, 17 Jun 2019 19:10:04 +0200 (CEST) Date: Mon, 17 Jun 2019 19:10:04 +0200 (CEST) X-X-Sender: elu@supernova.coretech.se To: internals@lists.php.net Message-ID: User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Subject: [PATCH] Add configuration value to enable/disable stack trace logging From: erik@coretech.se (Erik Lundin) Background: The latest version of PHP seems to handle fatal errors as exceptions which results in stack traces being logged. Stack traces can potentially contain sensitive information and should not be logged in a production environment. Test code: