From 9665d170ec9fd4bfc5f841c49d01e2d3561ffcff Mon Sep 17 00:00:00 2001 From: "Bernhard K. Weisshuhn" Date: Mon, 1 Dec 2014 15:04:20 +0100 Subject: [PATCH 1/2] =?UTF-8?q?fully=20unroll=20params=20in=20log=20messag?= =?UTF-8?q?e,=20don=E2=80=99t=20include=20hidden=20props?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/event_listeners.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/event_listeners.js b/lib/event_listeners.js index afb83ab515..66166a0dae 100644 --- a/lib/event_listeners.js +++ b/lib/event_listeners.js @@ -374,7 +374,7 @@ AWS.EventListeners = { var delta = (time - req.startTime.getTime()) / 1000; var ansi = logger.isTTY ? true : false; var status = resp.httpResponse.statusCode; - var params = require('util').inspect(req.params, true, true); + var params = require('util').inspect(req.params, false, null); var message = ''; if (ansi) message += '\x1B[33m'; From bc104987066f81552488dd1253bad8cad2c93eda Mon Sep 17 00:00:00 2001 From: "Bernhard K. Weisshuhn" Date: Wed, 10 Dec 2014 13:49:40 +0100 Subject: [PATCH 2/2] reenable logging of non-enumerable properties, as discussed in #420 --- lib/event_listeners.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/event_listeners.js b/lib/event_listeners.js index 66166a0dae..c4b9a434ac 100644 --- a/lib/event_listeners.js +++ b/lib/event_listeners.js @@ -374,7 +374,7 @@ AWS.EventListeners = { var delta = (time - req.startTime.getTime()) / 1000; var ansi = logger.isTTY ? true : false; var status = resp.httpResponse.statusCode; - var params = require('util').inspect(req.params, false, null); + var params = require('util').inspect(req.params, true, null); var message = ''; if (ansi) message += '\x1B[33m';