From 14e51f6193f18d7e7fe9034e8aec9ad0bb9ef927 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Thu, 10 Apr 2014 14:53:08 +0200 Subject: [PATCH] irclib: Make SASL messages easier to understand The logs are meant to be understandable by humans, and not everyone might know AUTHENTICATE is a SASL command. [ci skip] --- src/irclib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irclib.py b/src/irclib.py index 4874e5189..4526d6c0f 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -939,9 +939,9 @@ class Irc(IrcCommandDispatcher): ]).encode('utf-8')).decode('utf-8') log.debug('Sending CAP REQ command, requesting capability \'sasl\'.') self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('REQ', 'sasl'))) - log.debug('Sending AUTHENTICATE command, using mechanism PLAIN.') + log.debug('Using SASL mechanism PLAIN.') self.queueMsg(ircmsgs.IrcMsg(command="AUTHENTICATE", args=('PLAIN',))) - log.info('Sending AUTHENTICATE command, not logging the password.') + log.info('Authenticating using SASL.') self.queueMsg(ircmsgs.IrcMsg(command="AUTHENTICATE", args=(auth_string,))) if self.password: log.info('Sending PASS command, not logging the password.')