Commit 7082c61f authored by Vytor Calixto's avatar Vytor Calixto 👾
Browse files

Removido arquivo do log

parent 3cde2c27
......@@ -6,15 +6,15 @@ function logger(module) {
return new winston.Logger({
transports : [
new winston.transports.File({
level: 'info',
filename: process.cwd() + '/logs/all.log',
handleException: true,
json: true,
maxSize: 5242880, //5mb
maxFiles: 2,
colorize: false
}),
// new winston.transports.File({
// level: 'info',
// filename: process.cwd() + '/logs/all.log',
// handleException: true,
// json: true,
// maxSize: 5242880, //5mb
// maxFiles: 2,
// colorize: false
// }),
new winston.transports.Console({
level: 'debug',
label: getFilePath(module),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment