From 44ff0ac5df4eceb0ca7463986874f0ad19b23722 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 30 Jun 2019 18:11:28 -0600 Subject: [PATCH] better logging --- server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 7d65973..2fa6993 100644 --- a/server.js +++ b/server.js @@ -212,7 +212,8 @@ exports.checkWwws = checkWwws; function myVhostApp(req, res) { // SECURITY greenlock pre-sanitizes hostnames to prevent unauthorized fs access so you don't have to // (also: only domains approved above will get here) - console.info("\n", req.method, (req.headers.host || "") + req.url); + console.info(""); + console.info(req.method, (req.headers.host || "") + req.url); Object.keys(req.headers).forEach(function(key) { console.info(key, req.headers[key]); });