Edit report at https://bugs.php.net/bug.php?id=55109&edit=1

 ID:                 55109
 Comment by:         arraypad at gmail dot com
 Reported by:        ar...@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] ar...@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

Reply via email to