mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Removed loglevel logging in logger.js, minor fixes
This commit is contained in:
parent
ada189a7d8
commit
723338b40e
2 changed files with 3 additions and 2 deletions
|
@ -55,6 +55,8 @@ const userDB = dbtools.GetDB(usersDBPath)
|
|||
let modules = JSON.parse(utils.ReadFile(modulesFile))
|
||||
|
||||
logger.Load()
|
||||
const debugLevel = parseInt(process.env.NS_LOGLEVEL) || 0
|
||||
logger.Log('Loglevel is: ' + debugLevel)
|
||||
|
||||
try {
|
||||
if (utils.FileExists(extraModulesFile)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue