diff --git a/controller/libpostal.js b/controller/libpostal.js index 9a034ac2..8f275dd9 100644 --- a/controller/libpostal.js +++ b/controller/libpostal.js @@ -21,6 +21,7 @@ function setup(should_execute) { } req.clean.parsed_text = parsed_text; + debugLog.push(req, {parsed_text: req.clean.parsed_text}); } debugLog.stopTimer(req, initialTime); return next(); diff --git a/controller/placeholder.js b/controller/placeholder.js index 9245351b..edba469a 100644 --- a/controller/placeholder.js +++ b/controller/placeholder.js @@ -267,6 +267,7 @@ function setup(placeholderService, do_geometric_filters_apply, should_execute) { logger.info(messageParts.join(' ')); debugLog.push(req, messageParts[1].slice(1,-1)); + debugLog.push(req, res.data); } debugLog.stopTimer(req, initialTime);