From c75b12a7ac1f6a202edb6e5b29692d3b528041cb Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Thu, 1 Dec 2016 17:47:51 +0100 Subject: [PATCH] cleanup --- lib/app.js | 2 +- lib/routes/backstage.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/app.js b/lib/app.js index 77bb326e96..00af2aa011 100644 --- a/lib/app.js +++ b/lib/app.js @@ -42,7 +42,7 @@ module.exports = function (config) { app.use(bodyParser.json({ strict: false })); app.use(log4js.connectLogger(logger, { - format: ':remote-addr :status :method :url :response-timems', + format: ':status :method :url :response-timems', level: 'auto', // 3XX=WARN, 4xx/5xx=ERROR })); diff --git a/lib/routes/backstage.js b/lib/routes/backstage.js index e317d8558f..e8edabb757 100644 --- a/lib/routes/backstage.js +++ b/lib/routes/backstage.js @@ -3,7 +3,6 @@ const prometheusRegister = require('prom-client/lib/register'); module.exports = function (app, config) { - console.log({config}); if(config.serverMetrics) { app.get('/internal-backstage/prometheus', (req, res) => { res.writeHead(200, { 'Content-Type': 'text/plain' });