mod_http_oauth2: Reduce log level for error delivery via redirect
authorKim Alvefur <zash@zash.se>
Sat, 23 Dec 2023 00:06:35 +0100
changeset 5803 c75328aeaba3
parent 5802 fdf3056021dc
child 5804 8566a423da88
mod_http_oauth2: Reduce log level for error delivery via redirect This is supposed to be normal in OAuth2, not really deserving a warning log message.
mod_http_oauth2/mod_http_oauth2.lua
--- a/mod_http_oauth2/mod_http_oauth2.lua	Sat Dec 23 00:01:30 2023 +0100
+++ b/mod_http_oauth2/mod_http_oauth2.lua	Sat Dec 23 00:06:35 2023 +0100
@@ -765,7 +765,7 @@
 	redirect_uri = redirect_uri
 		.. sep .. http.formencode(err.extra.oauth2_response)
 		.. "&" .. http.formencode({ state = q.state, iss = get_issuer() });
-	module:log("warn", "Sending error response to client via redirect to %s", redirect_uri);
+	module:log("debug", "Sending error response to client via redirect to %s", redirect_uri);
 	return {
 		status_code = 303;
 		headers = {