Browse code

http_client: removed function names from logs

Daniel-Constantin Mierla authored on 29/06/2021 06:23:56
Showing 1 changed files
... ...
@@ -113,7 +113,7 @@ static cfg_option_t http_client_options[] = {
113 113
 		{"keepconnections", .f = cfg_parse_int_opt},					/* 17 */
114 114
 		{0}};
115 115
 
116
-/*! Count the number of connections 
116
+/*! Count the number of connections
117 117
  */
118 118
 unsigned int curl_connection_count()
119 119
 {
... ...
@@ -136,7 +136,7 @@ int http_connection_exists(str *name)
136 136
 		return 1;
137 137
 	}
138 138
 
139
-	LM_DBG("curl_connection_exists no success in looking for httpcon: [%.*s]\n",
139
+	LM_DBG("no success in looking for httpcon: [%.*s]\n",
140 140
 			name->len, name->s);
141 141
 	return 0;
142 142
 }
... ...
@@ -149,7 +149,7 @@ curl_con_t *curl_get_connection(str *name)
149 149
 	unsigned int conid;
150 150
 
151 151
 	conid = core_case_hash(name, 0, 0);
152
-	LM_DBG("curl_get_connection looking for httpcon: [%.*s] ID %u\n", name->len,
152
+	LM_DBG("looking for httpcon: [%.*s] ID %u\n", name->len,
153 153
 			name->s, conid);
154 154
 
155 155
 	cc = _curl_con_root;
... ...
@@ -160,8 +160,8 @@ curl_con_t *curl_get_connection(str *name)
160 160
 		}
161 161
 		cc = cc->next;
162 162
 	}
163
-	LM_DBG("curl_get_connection no success in looking for httpcon: [%.*s]\n",
164
-			name->len, name->s);
163
+	LM_DBG("no success in looking for httpcon: [%.*s] (list: %p)\n",
164
+			name->len, name->s, _curl_con_root);
165 165
 	return NULL;
166 166
 }
167 167
 
... ...
@@ -178,7 +178,7 @@ curl_con_pkg_t *curl_get_pkg_connection(curl_con_t *con)
178 178
 		}
179 179
 		ccp = ccp->next;
180 180
 	}
181
-	LM_ERR("curl_get_pkg_connection no success in looking for pkg memory for "
181
+	LM_ERR("no success in looking for pkg memory for "
182 182
 		   "httpcon: [%.*s]\n",
183 183
 			con->name.len, con->name.s);
184 184
 	return NULL;