mod_http: Log event name when adding a HTTP app's hooks

This commit is contained in:
Matthew Wild 2015-03-14 22:39:23 +00:00
parent 5c1d94de1b
commit 45016aef35

View file

@ -102,6 +102,7 @@ function module.add_host(module)
end
if not app_handlers[event_name] then
app_handlers[event_name] = handler;
module:log("debug", "Adding app '%s' to handle %s", app_name, event_name);
module:hook_object_event(server, event_name, handler);
else
module:log("warn", "App %s added handler twice for '%s', ignoring", app_name, event_name);