Skip to content

Commit 7b42e82

Browse files
author
Gustavo Delgado
committed
Improve logger setup
1 parent 4630da0 commit 7b42e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Logger/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const logger = winston.createLogger({
1010
// - Write all logs error (and below) to `error.log`.
1111
//
1212
new winston.transports.File({ filename: 'error.log', level: 'error', dirname: process.env.LOG_PATH }),
13-
new winston.transports.File({ filename: 'combined.log' })
13+
new winston.transports.File({ filename: 'combined.log', dirname: process.env.LOG_PATH })
1414
]
1515
});
1616

0 commit comments

Comments
 (0)