From 6c7019ccb7dd3619a3d10faa2874fa43764c5e37 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 15 Jun 2020 11:06:54 +0100 Subject: [PATCH] downgrade NotFoundError log-level --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index b22e0a0..ff5d70e 100644 --- a/app.js +++ b/app.js @@ -228,7 +228,7 @@ app.get('/smoke_test_force', (req, res) => smokeTest.sendNewResult(res)) app.use(function(error, req, res, next) { if (error instanceof Errors.NotFoundError) { - logger.warn({ err: error, url: req.url }, 'not found error') + logger.log({ err: error, url: req.url }, 'not found error') return res.sendStatus(404) } else if (error.code === 'EPIPE') { // inspect container returns EPIPE when shutting down