diff --git a/coremods/control.py b/coremods/control.py index 59cab26..8ba2e9d 100644 --- a/coremods/control.py +++ b/coremods/control.py @@ -19,11 +19,11 @@ def _shutdown(irc=None): for name, plugin in world.plugins.items(): # Before closing connections, tell all plugins to shutdown cleanly first. if hasattr(plugin, 'die'): - log.debug('coreplugin: Running die() on plugin %s due to shutdown.', name) + log.debug('coremods.control: Running die() on plugin %s due to shutdown.', name) try: plugin.die(irc) except: # But don't allow it to crash the server. - log.exception('coreplugin: Error occurred in die() of plugin %s, skipping...', name) + log.exception('coremods.control: Error occurred in die() of plugin %s, skipping...', name) for ircobj in world.networkobjects.values(): # Disconnect all our networks. diff --git a/coremods/handlers.py b/coremods/handlers.py index e00c188..6e91934 100644 --- a/coremods/handlers.py +++ b/coremods/handlers.py @@ -80,7 +80,7 @@ def handle_whois(irc, source, command, args): # 301: used to show away information if present away_text = user.away - log.debug('(%s) coreplugin/handle_whois: away_text for %s is %r', irc.name, target, away_text) + log.debug('(%s) coremods.handlers.handle_whois: away_text for %s is %r', irc.name, target, away_text) if away_text: f(server, 301, source, '%s :%s' % (nick, away_text)) diff --git a/coremods/service_support.py b/coremods/service_support.py index 58388b3..48a6f27 100644 --- a/coremods/service_support.py +++ b/coremods/service_support.py @@ -62,7 +62,7 @@ def handle_disconnect(irc, source, command, args): for name, sbot in world.services.items(): try: del sbot.uids[irc.name] - log.debug("coreplugin: removing uids[%s] from service bot %s", irc.name, sbot.name) + log.debug("coremods.service_support: removing uids[%s] from service bot %s", irc.name, sbot.name) except KeyError: continue