From: Brion Vibber Date: Mon, 20 Dec 2010 18:46:23 +0000 (-0800) Subject: Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c71d701a3f32472bb71ae38d21a4dd16ea1dcb97;p=quix0rs-gnu-social.git Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke --- diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php index 140f323846..b34d7cd854 100644 --- a/plugins/OStatus/classes/FeedSub.php +++ b/plugins/OStatus/classes/FeedSub.php @@ -487,7 +487,7 @@ class FeedSub extends Memcached_DataObject if ($their_hmac === $our_hmac) { return true; } - common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bad SHA-1 HMAC: got $their_hmac, expected $our_hmac"); + common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bad SHA-1 HMAC: got $their_hmac, expected $our_hmac for feed $this->uri on $this->huburi"); } else { common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bogus HMAC '$hmac'"); }