Minor logging improvement, saving incoming data for debugging

This commit is contained in:
YourFriendlyNeighborhoodDealer 2019-03-21 17:04:25 +01:00
parent e693dc0070
commit 8662e75abe
2 changed files with 5 additions and 6 deletions

View file

@ -282,7 +282,7 @@ if (startHTTPS && certsLoaded) {
logger.Log("Cert files does not exists, starting http only!", logger.GetColor("redbg"));
}
logger.Log(msg, logger.GetColor("yellow"));
logger.Log("Node version: " + process.version);
logger.Log("[STRT]: Node version: " + process.version);
function Log(req, toFile, sc) {
try {