aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-09-19 19:17:07 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-09-19 19:17:07 +0200
commitd5f4ab528af39a2111829cdf82e253de94cdd89e (patch)
treec3b0ff8b9d2a31ebea30a0c74ea54aafcbd16407
parenta745884b549c3e1451427335afcc962cb5649849 (diff)
downloadprosody-im-server-d5f4ab528af39a2111829cdf82e253de94cdd89e.tar
prosody-im-server-d5f4ab528af39a2111829cdf82e253de94cdd89e.zip
rostermanager: Simplify logging.
-rw-r--r--core/rostermanager.lua4
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);