Req #55109 [Com]: Friendly log messages
| From: | arraypad at gmail dot com | Date: | Sat, 02 Jul 2011 01:20:37 +0000 |
| Subject: | Req #55109 [Com]: Friendly log messages | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161485@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55109&edit=1
ID: 55109
Comment by: arraypad at gmail dot com
Reported by: arpad@php.net
Summary: Friendly log messages
Status: Open
Type: Feature/Change Request
Package: CGI/CLI related
Operating System: N/A
PHP Version: trunk-SVN-2011-07-02 (SVN)
Block user comment: N
Private report: N
New Comment:
Discussion: http://marc.info/?l=php-internals&m=130930069207940&w=2
NB. Patch is not ready to be applied yet - still looking into means of excluding apparently
compatible (but not) terminals.
Previous Comments:
------------------------------------------------------------------------
[2011-07-01 21:13:50] arpad@php.net
Description:
------------
- Compacts messages to one line, so a 404 doesn't occupy three lines.
- Includes the response status code
- Colours messages according to their response code (success=green,
client error=yellow, server error=red)
- Appends the error message when there's a fatal PHP error
Test script:
---------------
...
Expected result:
----------------
http://spellign.com/patches/cli-after.png
Actual result:
--------------
http://spellign.com/patches/cli-before.png
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55109&edit=1