Software /
code /
prosody
Changeset
8356:bbd18b617296
rostermanager: Simplify logging.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 19 Sep 2017 19:17:07 +0200 |
parents | 8355:45383e071ded |
children | 8357:8b5d846dc664 |
files | core/rostermanager.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core/rostermanager.lua Thu Oct 26 22:30:52 2017 +0200 +++ b/core/rostermanager.lua Tue Sep 19 19:17:07 2017 +0200 @@ -104,9 +104,9 @@ if user then roster = user.roster; if roster then return roster; end - log("debug", "load_roster: loading for new user: %s@%s", username, host); + log("debug", "load_roster: loading for new user: %s", jid); else -- Attempt to load roster for non-loaded user - log("debug", "load_roster: loading for offline user: %s@%s", username, host); + log("debug", "load_roster: loading for offline user: %s", jid); end local roster_store = storagemanager.open(host, "roster", "keyval"); local data, err = roster_store:get(username);