Debug de server

This commit is contained in:
Luis Fernando Molina committed 2018-05-18 19:32:00 +02:00
1 parent c864505217
commit 41d794fe76
1 file changed
+4 -2
+4 -2
View File
@@ -1,5 +1,5 @@
let CONSOLE_LOG = false;
let LOG_FILE_CONTENT = false;
let CONSOLE_LOG = true;
let LOG_FILE_CONTENT = true;
if (CONSOLE_LOG === true) { console.log("[INFO] Node Server Starting."); }
@@ -53,6 +53,8 @@ function initialize() {
serverConfig = JSON.parse(fileText);
if (LOG_FILE_CONTENT === true) { console.log("[INFO] initialize -> readServerConfig -> onFileRead -> fileText = " + fileText); }
CONSOLE_LOG = serverConfig.webServerLog.console;
LOG_FILE_CONTENT = serverConfig.webServerLog.fileContent;