fix debug logging
This commit is contained in:
parent
b6754d1752
commit
2901666351
1 changed files with 3 additions and 3 deletions
|
|
@ -3,11 +3,11 @@
|
|||
'use strict'
|
||||
|
||||
var fs = require('fs')
|
||||
var options = require('../lib/options')
|
||||
process.env.LAMASSU_ENV = process.env.LAMASSU_ENV || options.logLevel
|
||||
|
||||
var createServer = require('../lib/app.js')
|
||||
var argv = require('minimist')(process.argv.slice(2))
|
||||
var options = require('../lib/options')
|
||||
|
||||
process.env.LAMASSU_ENV = process.env.LAMASSU_ENV || options.logLevel
|
||||
|
||||
var port = process.env.PORT || 3000
|
||||
var httpOnly = options.httpOnly || argv.http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue