better logging in dev mode

This commit is contained in:
Ricardo Tomasi 2013-05-19 18:51:27 -03:00
parent 503e9fb391
commit fefd0c930c

3
app.js
View File

@ -25,7 +25,8 @@
ghost.app().configure('development', function () {
ghost.app().use(express.favicon(__dirname + '/content/images/favicon.ico'));
ghost.app().use(express.errorHandler());
ghost.app().use(express.errorHandler({ dumpExceptions: true, showStack: true }));
ghost.app().use(express.logger('dev'));
ghost.app().use(I18n.load(ghost));
ghost.app().use(express.bodyParser());
ghost.app().use(express.cookieParser('try-ghost'));