Stop using ANSI colors in the logs

Closes #130
This commit is contained in:
Sandro Santilli 2014-02-10 17:10:34 +01:00
parent 5c22b8ddaa
commit ec1d002812
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Bug fixes:
Enhancements: Enhancements:
* Add support for error handling in assert.request * Add support for error handling in assert.request
* Stop using ANSI colors in the logs (#130)
1.8.2 - 2014-01-20 1.8.2 - 2014-01-20
------------------ ------------------

View File

@ -23,7 +23,7 @@ var express = require('express')
, app = express.createServer( , app = express.createServer(
express.logger({ express.logger({
buffer: true, buffer: true,
format: '[:date] :req[X-Real-IP] \033[90m:method\033[0m \033[36m:req[Host]:url\033[0m \033[90m:status :response-time ms -> :res[Content-Type]\033[0m' format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type]'
})) }))
, Step = require('step') , Step = require('step')
, crypto = require('crypto') , crypto = require('crypto')