Removed loglevel logging in logger.js, minor fixes

This commit is contained in:
mrfry 2020-10-05 10:36:57 +02:00
parent ada189a7d8
commit 723338b40e
2 changed files with 3 additions and 2 deletions

View file

@ -47,11 +47,10 @@ const uvStatsFile = 'stats/uvstats'
const nologFile = './nolog'
const colors = ['green', 'red', 'yellow', 'blue', 'magenta', 'cyan']
let logFileName = getDayString()
var logFileName = getDayString()
const writeInterval = 10
const debugLevel = parseInt(process.env.NS_LOGLEVEL) || 0
Log('Loglevel is: ' + debugLevel)
let data = {} // visit data
let vData = {} // visit data, but daily