diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-20 10:46:23 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-20 10:46:23 -0800 |
commit | c71d701a3f32472bb71ae38d21a4dd16ea1dcb97 (patch) | |
tree | cbbb468bc7cb32e7b832a4547b990f2b70698ad6 | |
parent | 24f9a991b6ac8edfc7936b7adfcb7dd5955c66a3 (diff) |
Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke
-rw-r--r-- | plugins/OStatus/classes/FeedSub.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php index 140f32384..b34d7cd85 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'"); } |