# HG changeset patch # User Kim Alvefur # Date 1684082900 -7200 # Node ID 42c2a97872425c47cd7e9f40ba500017d4a0dfa4 # Parent 4e112b87543d0177fface3597029eb7836fa6315 net.http.server: Remove "Firing event" logs, use event logging instead Since these are noisy and we have the thing in util.helpers to log events fired. The new status line events are meant to replace these as they include more useful info. diff -r 4e112b87543d -r 42c2a9787242 net/http/server.lua --- a/net/http/server.lua Sun May 14 18:44:38 2023 +0200 +++ b/net/http/server.lua Sun May 14 18:48:20 2023 +0200 @@ -289,11 +289,9 @@ local global_event = request.method.." "..request.path:match("[^?]*"); local payload = { request = request, response = response }; - request.log("debug", "Firing event: %s", global_event); local result = events.fire_event(global_event, payload); if result == nil and is_head_request then local global_head_event = "GET "..request.path:match("[^?]*"); - request.log("debug", "Firing event: %s", global_head_event); result = events.fire_event(global_head_event, payload); end if result == nil then @@ -314,12 +312,10 @@ end local host_event = request.method.." "..host..request.path:match("[^?]*"); - request.log("debug", "Firing event: %s", host_event); result = events.fire_event(host_event, payload); if result == nil and is_head_request then local host_head_event = "GET "..host..request.path:match("[^?]*"); - request.log("debug", "Firing event: %s", host_head_event); result = events.fire_event(host_head_event, payload); end end