Hi,

This little patch makes the following changes to the CLI web server's
console logging:
- 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

Here's an example:
http://spellign.com/patches/cli-before.png
http://spellign.com/patches/cli-after.png

And the patch:
http://spellign.com/patches/php-trunk-cli-server-messages.patch

I'd appreciate any feedback.

Regards,

Arpad

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to