Can set log level from env var

master
Keith Irwin 2017-05-07 00:06:47 -04:00
parent 818a2bc60e
commit 9686ec08a0
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ const
/* SETUP */ {
// Log level
winston.level = env.logLevel || 'info';
winston.level = process.env.LOGLEVEL || env.logLevel || 'info';
/* Database */ {