Mercurial > prosody-modules
comparison mod_register_apps/mod_register_apps.lua @ 4630:635907a5d2c8
mod_register_apps: Reduce yellow yelling in log message
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 21 Jul 2021 16:28:13 +0200 |
parents | e2db07017332 |
children | 0b084f63fed0 |
comparison
equal
deleted
inserted
replaced
4629:0e60ce83205c | 4630:635907a5d2c8 |
---|---|
146 add_app(app_info, module.name); | 146 add_app(app_info, module.name); |
147 end | 147 end |
148 end | 148 end |
149 | 149 |
150 local function module_app_added(event) | 150 local function module_app_added(event) |
151 module:log("warn", "ADDING %s", event.item.name) | 151 module:log("info", "Adding %s", event.item.name) |
152 add_app(event.item, module.name); | 152 add_app(event.item, module.name); |
153 end | 153 end |
154 | 154 |
155 local function module_app_removed(event) | 155 local function module_app_removed(event) |
156 remove_app(event.item); | 156 remove_app(event.item); |