Skip to content
Snippets Groups Projects
Commit ca57500a authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Change debug log level

parent 35395901
No related branches found
No related tags found
1 merge request!21Issue/68
Pipeline #
...@@ -38,7 +38,7 @@ function logger(module) { ...@@ -38,7 +38,7 @@ function logger(module) {
}), }),
new winston.transports.Console({ new winston.transports.Console({
name: 'debug-log', name: 'debug-log',
level: 'debug', level: (process.env.NODE_ENV === 'development') ? 'debug' : 'error',
label: getFilePath(module), label: getFilePath(module),
handleException: true, handleException: true,
json: false, json: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment