From 8521e00151aeab4b2c4d86c1211bff66f6d84402 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 29 Apr 2014 18:45:35 +1000 Subject: [PATCH] Describe user associated with client id --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 5b7d1738..ba06a264 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -726,7 +726,7 @@ static json_t *parse_authorize(stratum_instance_t *client, json_t *params_val, j *err_val = json_string("User not found"); goto out; } - LOGNOTICE("Authorised user %s", buf); + LOGNOTICE("Authorised client %d as user %s", client->id, buf); client->workername = strdup(buf); client->user_id = user_id; client->authorised = true;