Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53706 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89349 invoked from network); 30 Jun 2011 19:04:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jun 2011 19:04:59 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:62432] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/22-11233-AD8CC0E4 for ; Thu, 30 Jun 2011 15:04:58 -0400 Received: by gxk27 with SMTP id 27so1168324gxk.29 for ; Thu, 30 Jun 2011 12:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/paCDIIa/ol9Tc/YAr3c5JDevfxftUWBRkw+siD+b1M=; b=BrXevWUoYrZV42eHtsD/L9RvXm87tpfhQ0t9cdl4JQqsTxwBVkYw+NP2T2NHlOeYwT LMJ19IUydTGfRwKL+a4gq28Da52Vi7kXDcyCQ6P58hEJKUBYpQ0urkRIaa/HgvSMa1ad YGUfso+Artivxm8yNhQod2NVf48yi8ogpdyoc= MIME-Version: 1.0 Received: by 10.147.89.19 with SMTP id r19mr1993368yal.7.1309460695088; Thu, 30 Jun 2011 12:04:55 -0700 (PDT) Received: by 10.146.210.3 with HTTP; Thu, 30 Jun 2011 12:04:55 -0700 (PDT) In-Reply-To: References: Date: Thu, 30 Jun 2011 21:04:55 +0200 Message-ID: To: Lars Bo Rasmussen Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [PATCH] Friendly log messages for CLI server From: hannes.magnusson@gmail.com (Hannes Magnusson) On Thu, Jun 30, 2011 at 20:14, Lars Bo Rasmussen wrote: > Instead of adding it as a php ini option, please consider adding this as a > parameter to the php-cli executable as this might be something you would > want to enable/disable quickly per instance. This would also make the > coloring output more attractive to use instead of having to edit the ini > file every time or have a seperate ini file just for the purpose to enable > or disable coloring Then you would be forced to always pass that option. If you want to enable it for one run you could do php -dcli.color=0 foo.php No need to edit the ini. -Hannes