Procházet zdrojové kódy

dns_server: suppress log.

Nick Peng před 2 roky
rodič
revize
b5cc8a805a
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/dns_server.c

+ 2 - 2
src/dns_server.c

@@ -1860,7 +1860,7 @@ static int _dns_request_post(struct dns_server_post_context *context)
 
 	ret = _dns_reply_inpacket(request, context->inpacket, context->inpacket_len);
 	if (ret != 0) {
-		tlog(TLOG_WARN, "reply raw packet to client failed.");
+		tlog(TLOG_DEBUG, "reply raw packet to client failed.");
 		return -1;
 	}
 
@@ -6402,7 +6402,7 @@ int dns_server_run(void)
 			}
 
 			if (_dns_server_process(conn_head, event, now) != 0) {
-				tlog(TLOG_WARN, "dns server process failed.");
+				tlog(TLOG_DEBUG, "dns server process failed.");
 			}
 		}
 	}