Skip to content

Commit

Permalink
Merge pull request #2244 from bennettmsherman/patch-1
Browse files Browse the repository at this point in the history
Reduce log level for web requests
  • Loading branch information
DL6ER authored Feb 22, 2025
2 parents 619d837 + 7262590 commit 8082208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webserver/lua_web.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ int request_handler(struct mg_connection *conn, void *cbdata)
const struct mg_request_info *req_info = mg_get_request_info(conn);

// Do not redirect for ACME challenges
log_info("Local URI: \"%s\"", req_info->local_uri_raw);
log_debug(DEBUG_API, "Local URI: \"%s\"", req_info->local_uri_raw);
const char acme_challenge[] = "/.well-known/acme-challenge/";
const bool is_acme = strncmp(req_info->local_uri_raw, acme_challenge, strlen(acme_challenge)) == 0;
if(is_acme)
Expand Down

0 comments on commit 8082208

Please sign in to comment.