From 5bc47bccc707c3b3c813cc0cdcfe6e5fa75df985 Mon Sep 17 00:00:00 2001 From: Josh Harvey Date: Thu, 19 Mar 2015 16:22:44 -0400 Subject: [PATCH] add poll request logging back in --- lib/routes.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/routes.js b/lib/routes.js index 851059dd..c2f1958f 100644 --- a/lib/routes.js +++ b/lib/routes.js @@ -21,6 +21,8 @@ function poll(req, res) { var rateRec = plugins.getDeviceRate(); var balanceRec = plugins.getBalance(); + logger.debug('poll request from: %s', getFingerprint(req)); + // `rateRec` and `balanceRec` are both objects, so there's no danger // of misinterpreting rate or balance === 0 as 'Server initializing'. if (!rateRec || !balanceRec) {