# HG changeset patch # User Kim Alvefur # Date 1562677952 -7200 # Node ID 216ae100c04afd01feaea98beeed21be0de00a50 # Parent b399dca1273c27ee017e33b5f0769cf0383fae9f mod_pep: Only log when creating new pubsub services Once upon a time get_pep_service() would get called with random bare JIDs and remote hostnames, which is why it was logged this way. This seems to have been fixed, so it's not as useful anymore. It's still useful to know when it creates a new service object. diff -r b399dca1273c -r 216ae100c04a plugins/mod_pep.lua --- a/plugins/mod_pep.lua Sat Jun 29 19:19:38 2019 +0200 +++ b/plugins/mod_pep.lua Tue Jul 09 15:12:32 2019 +0200 @@ -183,12 +183,12 @@ end function get_pep_service(username) - module:log("debug", "get_pep_service(%q)", username); local user_bare = jid_join(username, host); local service = services[username]; if service then return service; end + module:log("debug", "Creating pubsub service for user %q", username); service = pubsub.new({ pep_username = username; node_defaults = {