net.unbound: Adjust log level of error to error to error 0.12
authorKim Alvefur <zash@zash.se>
Mon, 16 May 2022 14:51:01 +0200
branch0.12
changeset 12514 cd3b5912c9a3
parent 12513 a92e1de62c9e
child 12515 a24d2b3c19a3
child 12524 bb5f772b3189
net.unbound: Adjust log level of error to error to error This error is an error, therefore it should be at the error level
net/unbound.lua
--- a/net/unbound.lua	Mon May 16 12:45:51 2022 +0200
+++ b/net/unbound.lua	Mon May 16 14:51:01 2022 +0200
@@ -142,7 +142,7 @@
 	if ret then
 		waiting_queries[ret] = callback;
 	else
-		log_query("warn", "Resolver error: %s", err);
+		log_query("error", "Resolver error: %s", err);
 	end
 	return ret, err;
 end