From: Jean-Philippe Orsini Date: Tue, 8 Nov 2011 10:51:09 +0000 (+0000) Subject: added msg log X-Git-Tag: v0.8.0.5~586 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=da69ba7d1817bdcd4c139714b0e21e921752609f added msg log --- diff --git a/src/rsensor.c b/src/rsensor.c index 0e20bdd..22d069d 100644 --- a/src/rsensor.c +++ b/src/rsensor.c @@ -131,6 +131,7 @@ static json_object *get_json_object(const char *url) curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, cbk_curl); curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&chunk); + log_printf(LOG_DEBUG, "HTTP request %s", url); if (curl_easy_perform(curl) == CURLE_OK) obj = json_tokener_parse(chunk.data); else