Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53643 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6787 invoked from network); 28 Jun 2011 23:30:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jun 2011 23:30:13 -0000 Authentication-Results: pb1.pair.com header.from=jerome@loyet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jerome@loyet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain loyet.net from 209.85.210.170 cause and error) X-PHP-List-Original-Sender: jerome@loyet.net X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:62753] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/DB-43855-4046A0E4 for ; Tue, 28 Jun 2011 19:30:13 -0400 Received: by iym1 with SMTP id 1so689679iym.29 for ; Tue, 28 Jun 2011 16:30:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.67.138 with SMTP id r10mr92091ibi.180.1309303809601; Tue, 28 Jun 2011 16:30:09 -0700 (PDT) Received: by 10.231.192.132 with HTTP; Tue, 28 Jun 2011 16:30:07 -0700 (PDT) In-Reply-To: <1309303149.2331.119.camel@guybrush> References: <1309303149.2331.119.camel@guybrush> Date: Wed, 29 Jun 2011 01:30:07 +0200 Message-ID: To: =?ISO-8859-1?Q?Johannes_Schl=FCter?= Cc: Arpad Ray , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [PATCH] Friendly log messages for CLI server From: jerome@loyet.net (=?ISO-8859-1?B?Suly9G1lIExveWV0?=) 2011/6/29 Johannes Schl=FCter : > On Tue, 2011-06-28 at 23:37 +0100, Arpad Ray wrote: >> - Colours messages according to their response code (success=3Dgreen, >> client error=3Dyellow, server error=3Dred) > > I would prefer if this would be an ini option (if (cli_web_server.color > && isatty) color =3D true) default can be on, but I've seen cases where > such magic failed and created hard-to use results (due to control > sequences in log files or such). > I agree with johannes. Color should be an option, all term does not handle them correctly. Also, color control sequences are just killing a log file. ++ Jerome