From 27da2bb108a8e0705b5343e99e9563d1759308c6 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 5 Feb 2023 21:13:34 -0700 Subject: [PATCH] Don't log entire JSON payloads --- core/http_util.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/http_util.js b/core/http_util.js index f9dd540e..0692e3f0 100644 --- a/core/http_util.js +++ b/core/http_util.js @@ -5,7 +5,6 @@ const { isString, isObject, truncate } = require('lodash'); const https = require('https'); const httpSignature = require('http-signature'); const crypto = require('crypto'); -const Log = require('./logger').log; exports.getJson = getJson; exports.postJson = postJson; @@ -29,7 +28,6 @@ function getJson(url, options, cb) { } } - Log.debug({ url: url, body: body }, 'Response from getJson'); let parsed; try { parsed = JSON.parse(body);