Skip to content

Commit

Permalink
Revert ":pencil2: Show startup message without winston"
Browse files Browse the repository at this point in the history
This reverts commit c107271
  • Loading branch information
kesselb committed Jun 21, 2018
1 parent 4e8d948 commit 6215db3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {createExpressServer} from 'routing-controllers';
import * as express from 'express';
import * as mongoose from 'mongoose';
import * as morgan from 'morgan';
import * as winston from 'winston';
import * as passport from 'passport';
import {Express} from 'express';
import * as Raven from 'raven';
Expand Down Expand Up @@ -67,7 +68,7 @@ export class Server {
this.app.use(morgan('combined'));

this.app.listen(config.port, () => {
process.stdout.write('--> Server successfully started at port ' + config.port);
winston.log('info', '--> Server successfully started at port %d', config.port);
});
}
}
Expand Down

0 comments on commit 6215db3

Please sign in to comment.