From 0e7ed4673d047d3922d3e41ab2d77173492d1680 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 7 Jan 2016 11:21:57 +1100 Subject: [PATCH] Add what method the unsubscribed client is sending --- src/stratifier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index b144b572..e430fe6b 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5268,7 +5268,8 @@ static void parse_method(ckpool_t *ckp, sdata_t *sdata, stratum_instance_t *clie /* We should only accept subscribed requests from here on */ if (!client->subscribed) { - LOGINFO("Dropping unsubscribed client %"PRId64" %s", client_id, client->address); + LOGINFO("Dropping unsubscribed client %"PRId64" %s requesting method %s", + client_id, client->address, method); connector_drop_client(ckp, client_id); return; }