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' });