diff options
author | Lance Stout <lancestout@gmail.com> | 2011-12-09 20:57:08 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-12-09 20:57:08 -0800 |
commit | 65dbddb6b67c0a6ad1c63d7e0f3a389cf20d359f (patch) | |
tree | b17de51b78f99a59367314229e9175121e6dd3ea | |
parent | 2a67a31120ade3664cc3bf49e04367ca27caf21f (diff) | |
download | slixmpp-65dbddb6b67c0a6ad1c63d7e0f3a389cf20d359f.tar.gz slixmpp-65dbddb6b67c0a6ad1c63d7e0f3a389cf20d359f.tar.bz2 slixmpp-65dbddb6b67c0a6ad1c63d7e0f3a389cf20d359f.tar.xz slixmpp-65dbddb6b67c0a6ad1c63d7e0f3a389cf20d359f.zip |
Fix logging when loading plugins.
-rw-r--r-- | sleekxmpp/basexmpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/basexmpp.py b/sleekxmpp/basexmpp.py index ee0ae988..11e787ad 100644 --- a/sleekxmpp/basexmpp.py +++ b/sleekxmpp/basexmpp.py @@ -227,14 +227,14 @@ class BaseXMPP(XMLStream): self.plugin[plugin] = getattr(module, plugin)(self, pconfig) # Let XEP/RFC implementing plugins have some extra logging info. - spec = '(CUSTOM) ' + spec = '(CUSTOM) %s' if self.plugin[plugin].xep: spec = "(XEP-%s) " % self.plugin[plugin].xep elif self.plugin[plugin].rfc: spec = "(RFC-%s) " % self.plugin[plugin].rfc desc = (spec, self.plugin[plugin].description) - log.debug("Loaded Plugin %s", desc) + log.debug("Loaded Plugin %s %s" % desc) except: log.exception("Unable to load plugin: %s", plugin) |