We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6360747 commit 7544addCopy full SHA for 7544add
CHANGES/852.bugfix
@@ -0,0 +1 @@
1
+Handled other SASL mechanism in logging (issue #852, pr #861 by @mangin)
aiokafka/conn.py
@@ -337,8 +337,11 @@ async def _do_sasl_handshake(self):
337
'Authenticated via OAUTHBEARER'
338
)
339
else:
340
- self.log.info('Authenticated as %s via PLAIN',
341
- self._sasl_plain_username)
+ self.log.info(
+ 'Authenticated as %s via %s',
342
+ self._sasl_plain_username,
343
+ self._sasl_mechanism
344
+ )
345
346
def authenticator_plain(self):
347
return SaslPlainAuthenticator(
0 commit comments