Fixed logging for elastic
This commit is contained in:
parent
eb4a0e0f37
commit
d64cf79f5d
5 changed files with 28 additions and 5 deletions
server
|
@ -8,7 +8,7 @@ import winston from 'winston';
|
|||
|
||||
// Setup logging
|
||||
winston.remove(winston.transports.Console);
|
||||
winston.add(winston.transports.Console, {colorize: true});
|
||||
winston.add(winston.transports.Console, { colorize: true, timestamp: true, prettyPrint: true });
|
||||
|
||||
// Create Koa Application
|
||||
const app = new Koa();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue