Skip to content

Commit 1cd4668

Browse files
committed
Log level of "Short query received" changed to debug
1 parent 42d91cc commit 1cd4668

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tcp_request.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ client_proxy_read_cb(struct bufferevent *const client_proxy_bev,
137137
debug_assert(tcp_request->status.has_dns_query_len != 0);
138138
dns_query_len = tcp_request->dns_query_len;
139139
if (dns_query_len < (size_t) DNS_HEADER_SIZE) {
140-
logger(LOG_WARNING, "Short query received");
140+
logger(LOG_DEBUG, "Short query received");
141141
tcp_request_kill(tcp_request);
142142
return;
143143
}

udp_request.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ client_to_proxy_cb(evutil_socket_t client_proxy_handle, short ev_flags,
300300
}
301301

302302
if (nread < (ssize_t) DNS_HEADER_SIZE || nread > sizeof_dns_query) {
303-
logger(LOG_WARNING, "Short query received");
303+
logger(LOG_DEBUG, "Short query received");
304304
udp_request_kill(udp_request);
305305
return;
306306
}

0 commit comments

Comments
 (0)