Software /
code /
prosody
Changeset
10072:128142990b2b
mod_mam: Include username that performed query
Not always easy to find from surrounding logs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Jul 2019 23:30:58 +0200 |
parents | 10071:b36e2631203d |
children | 10073:9137c9ce8b52 |
files | plugins/mod_mam/mod_mam.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:22:59 2019 +0200 +++ b/plugins/mod_mam/mod_mam.lua Thu Jul 11 23:30:58 2019 +0200 @@ -118,7 +118,8 @@ qstart, qend = vstart, vend; end - module:log("debug", "Archive query id=%s with=%s when=%s...%s", + module:log("debug", "Archive query by %s id=%s with=%s when=%s...%s", + origin.username, qid or "-", qwith or "*", qstart and timestamp(qstart) or "",