Tweaked logging levels.

This commit is contained in:
chris062689 2017-07-08 23:48:58 -04:00
parent a2f11b7687
commit 6c20b28661

View File

@ -8,11 +8,15 @@ winston.emitErrs = true;
var logger = new winston.Logger({ var logger = new winston.Logger({
transports: [ transports: [
new winston.transports.Console({ new winston.transports.Console({
level: 'silly', level: 'warn',
handleExceptions: true, handleExceptions: true,
humanReadableUnhandledException: true, humanReadableUnhandledException: true,
json: false, json: false,
colorize: true colorize: true
}),
new winston.transports.File({
filename: 'discord.log',
level: 'silly'
}) })
], ],
handleExceptions: true, handleExceptions: true,