From 19b50dc428ee71246ca45303f663fdae272e5347 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 22 May 2019 09:38:26 -0700 Subject: [PATCH] do not dump values in debug it ends up dumping the icon in logs --- src/apps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps.js b/src/apps.js index f72ec7738..4b880da94 100644 --- a/src/apps.js +++ b/src/apps.js @@ -829,7 +829,7 @@ function configure(appId, data, user, auditSource, callback) { values.oldConfig = getAppConfig(app); - debug('Will configure app with id:%s values:%j', appId, values); + debug(`configure: id:${appId}`); appdb.setInstallationCommand(appId, appdb.ISTATE_PENDING_CONFIGURE, values, function (error) { if (error && error.reason === DatabaseError.ALREADY_EXISTS) return callback(getDuplicateErrorDetails(error, location, domainObject, portBindings)); @@ -857,7 +857,7 @@ function update(appId, data, auditSource, callback) { assert.strictEqual(typeof auditSource, 'object'); assert.strictEqual(typeof callback, 'function'); - debug('Will update app with id:%s', appId); + debug(`update: id:${appId}`); get(appId, function (error, app) { if (error) return callback(error);