diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-09-19 19:17:07 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-09-19 19:17:07 +0200 |
commit | ccc4e2a83f81a07ef522a271738a34c75c2a4752 (patch) | |
tree | 7e37c2fba3025c2317cf0c83d600142f270e5be9 /core | |
parent | 7160daef7907b588168d46ebf6d306cc90d8b1b7 (diff) | |
download | prosody-ccc4e2a83f81a07ef522a271738a34c75c2a4752.tar.gz prosody-ccc4e2a83f81a07ef522a271738a34c75c2a4752.zip |
rostermanager: Simplify logging.
Diffstat (limited to 'core')
-rw-r--r-- | core/rostermanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua index c94482c4..04f97f22 100644 --- a/core/rostermanager.lua +++ b/core/rostermanager.lua @@ -104,9 +104,9 @@ local function load_roster(username, host) 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); |