Make INFO a bit less verbose when connecting.

This commit is contained in:
Valentin Lorentz 2016-02-21 11:01:31 +01:00
parent 661a32d1a9
commit b33dadea9e
2 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ class Owner(callbacks.Plugin):
conf.supybot.networks.get(network).servers.append(serverS) conf.supybot.networks.get(network).servers.append(serverS)
assert conf.supybot.networks.get(network).servers(), \ assert conf.supybot.networks.get(network).servers(), \
'No servers are set for the %s network.' % network 'No servers are set for the %s network.' % network
self.log.info('Creating new Irc for %s.', network) self.log.debug('Creating new Irc for %s.', network)
newIrc = irclib.Irc(network) newIrc = irclib.Irc(network)
for irc in world.ircs: for irc in world.ircs:
if irc != newIrc: if irc != newIrc:
@ -167,7 +167,7 @@ class Owner(callbacks.Plugin):
return newIrc return newIrc
def _loadPlugins(self, irc): def _loadPlugins(self, irc):
self.log.info('Loading plugins (connecting to %s).', irc.network) self.log.debug('Loading plugins (connecting to %s).', irc.network)
alwaysLoadImportant = conf.supybot.plugins.alwaysLoadImportant() alwaysLoadImportant = conf.supybot.plugins.alwaysLoadImportant()
important = conf.supybot.commands.defaultPlugins.importantPlugins() important = conf.supybot.commands.defaultPlugins.importantPlugins()
for (name, value) in conf.supybot.plugins.getValues(fullNames=False): for (name, value) in conf.supybot.plugins.getValues(fullNames=False):

View File

@ -1168,7 +1168,7 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
return return
caps = msg.args[2].split() caps = msg.args[2].split()
assert caps, 'Empty list of capabilities' assert caps, 'Empty list of capabilities'
log.info('%s: Server acknowledged capabilities: %L', log.debug('%s: Server acknowledged capabilities: %L',
self.network, caps) self.network, caps)
self.state.capabilities_ack.update(caps) self.state.capabilities_ack.update(caps)