Software /
code /
prosody
Changeset
6590:7726b627c3ea
mod_http: Log event name when adding a HTTP app's hooks
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 14 Mar 2015 22:39:23 +0000 |
parents | 6589:015f2b4e2f9a |
children | 6593:828f9f3bdbcf |
files | plugins/mod_http.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http.lua Sat Mar 14 22:39:03 2015 +0000 +++ b/plugins/mod_http.lua Sat Mar 14 22:39:23 2015 +0000 @@ -102,6 +102,7 @@ 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);