Changeset

2421:a9add2d1adf5

mod_pubsub_feeds: Log pushes for unknown feeds to aid in manual unsubscription from them
author Kim Alvefur <zash@zash.se>
date Mon, 19 Dec 2016 07:48:48 +0100
parents 2420:309db11494c2
children 2422:57235bce06fc
files mod_pubsub_feeds/mod_pubsub_feeds.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pubsub_feeds/mod_pubsub_feeds.lua	Mon Dec 19 07:47:50 2016 +0100
+++ b/mod_pubsub_feeds/mod_pubsub_feeds.lua	Mon Dec 19 07:48:48 2016 +0100
@@ -217,6 +217,7 @@
 
 	local feed = feed_list[query.node];
 	if not feed then
+		module:log("debug", "Push for unknown feed %s -- %s", query["hub.topic"], formencode(query));
 		return 404;
 	end