|
|
@ -32,9 +32,12 @@ winston.configure({
|
|
|
|
level: 'verbose',
|
|
|
|
level: 'verbose',
|
|
|
|
format: winston.format.combine.apply(null, formats),
|
|
|
|
format: winston.format.combine.apply(null, formats),
|
|
|
|
transports: [
|
|
|
|
transports: [
|
|
|
|
new winston.transports.Console(),
|
|
|
|
new winston.transports.Console({
|
|
|
|
|
|
|
|
handleExceptions: true,
|
|
|
|
|
|
|
|
}),
|
|
|
|
new winston.transports.File({
|
|
|
|
new winston.transports.File({
|
|
|
|
filename: 'logs/webinstall.log',
|
|
|
|
filename: 'logs/webinstall.log',
|
|
|
|
|
|
|
|
handleExceptions: true,
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
});
|
|
|
|
});
|
|
|
|