Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85752 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29275 invoked from network); 9 Apr 2015 11:21:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Apr 2015 11:21:33 -0000 Authentication-Results: pb1.pair.com header.from=php@bof.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@bof.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bof.de designates 80.242.145.70 as permitted sender) X-PHP-List-Original-Sender: php@bof.de X-Host-Fingerprint: 80.242.145.70 mars.intermailgate.com Received: from [80.242.145.70] ([80.242.145.70:47973] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/71-17490-BB066255 for ; Thu, 09 Apr 2015 07:21:32 -0400 Received: (qmail 10124 invoked by uid 1009); 9 Apr 2015 13:21:27 +0200 Received: from 209.85.220.175 by mars (envelope-from , uid 89) with qmail-scanner-1.25-st-qms (clamdscan: 0.96.2/20300. spamassassin: 3.3.1. perlscan: 1.25-st-qms. Clear:RC:1(209.85.220.175):. Processed in 0.241123 secs); 09 Apr 2015 11:21:27 -0000 X-Antivirus-MYDOMAIN-Mail-From: php@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:1(209.85.220.175):. Processed in 0.241123 secs Process 10109) Received: from mail-qk0-f175.google.com (gmail@bof.de@209.85.220.175) by mars.intermailgate.com with RC4-SHA encrypted SMTP; 9 Apr 2015 13:21:27 +0200 Received: by qkhg7 with SMTP id g7so120441261qkh.2 for ; Thu, 09 Apr 2015 04:21:26 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.55.52.67 with SMTP id b64mr58377513qka.47.1428578486199; Thu, 09 Apr 2015 04:21:26 -0700 (PDT) Received: by 10.140.49.75 with HTTP; Thu, 9 Apr 2015 04:21:25 -0700 (PDT) Received: by 10.140.49.75 with HTTP; Thu, 9 Apr 2015 04:21:25 -0700 (PDT) In-Reply-To: References: Date: Thu, 9 Apr 2015 13:21:25 +0200 Message-ID: To: Nikita Popov , internals Content-Type: multipart/alternative; boundary=001a11497edc342bef051348d9bb Subject: Re: [PHP-DEV] Exception message cleanup From: php@bof.de (Patrick Schaaf) --001a11497edc342bef051348d9bb Content-Type: text/plain; charset=UTF-8 Am 09.04.2015 10:04 schrieb "Nikita Popov" : > > New message: > > UnexpectedValueException: Failed to open directory "" in %s on line %d >... > Essentially exceptions would display like ordinary error, but with "Fatal > error" / "Warning" / ... replaced by the exception name, and showing a > stack trace after the error. Can you please keep some kind of keyword in front? I'd be most happy with "Fatal error " followed by the exception name.... but a single "Fatal ", "Error ", or "Uncaught " would be okay. Otherwise, now positive grepping alerters (ours looks for "error" in the first or second ws-separated column), would need to be changed to negative ones (alert me immediately except for Notice, Warning, whatever comes up later...) We also do a daily aggregation on the first non-ws non-PHP item in the line, which would probably need some love with that new format. Nothing big that we couldn't work around, but IMO it always makes sense to have clear "severity" indicators at the front of log lines. best regards Patrick --001a11497edc342bef051348d9bb--