Software /
code /
prosody
Changeset
11209:f6661fac7e9a
mod_adhoc: Log commands provided at debug level
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Nov 2020 00:52:49 +0100 |
parents | 11208:96429946a742 |
children | 11211:1151140fc757 |
files | plugins/adhoc/mod_adhoc.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/adhoc/mod_adhoc.lua Sun Nov 15 14:48:59 2020 +0100 +++ b/plugins/adhoc/mod_adhoc.lua Sun Nov 22 00:52:49 2020 +0100 @@ -91,6 +91,8 @@ local function adhoc_added(event) local item = event.item; + -- Dang this was noicy + module:log("debug", "Command added by mod_%s: %q, %q", item._provided_by or "<unknown module>", item.name, item.node); commands[item.node] = item; end