From 85279ecc475fba7f7a9c25e8538c42b42ca653c1 Mon Sep 17 00:00:00 2001 From: oddbyte Date: Mon, 19 Jan 2026 16:06:54 -0500 Subject: [PATCH] make req logging less verbose --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 87eb06e..897da24 100755 --- a/index.js +++ b/index.js @@ -128,7 +128,9 @@ async function send404(req, res) { const app = express(); app.use((req, res, next) => { - if (dev == "true") console.log(req); + if (dev == "true") { + console.log(`got a req to ${req.path}?${req.query} with a body of ${req.body}`); + } next(); });