Merge pull request #87 from lbryio/logging

removed logging reference.
This commit is contained in:
Mark 2018-07-03 23:52:20 -04:00 committed by GitHub
commit dcbf39193c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,14 +11,6 @@ require('winston-daily-rotate-file');
// Setup logging
winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, { colorize: true, timestamp: true, prettyPrint: true });
winston.add(winston.transports.DailyRotateFile, {
filename: 'lighthouse-%DATE%.log',
dirname: './logs',
datePattern: 'YYYY-MM-DD-HH',
zippedArchive: true,
maxSize: '20m',
maxFiles: '14d',
})
// Create Koa Application
const app = new Koa();