Comment 2 for bug 502809

Revision history for this message
Maciej Katafiasz (mathrick) wrote :

> A glance at the code suggests that we already set paramiko's log level
> to WARNING during auth, so either paramiko is emitting messages like
> "Authentication (publickey) successful!" with unreasonably urgent levels,
> or we're not doing a good enough job of configuring the logging.

Actually, it's only set to WARNING during a single check for auth_none, and for the rest it's at the default setting. A very simple fix is to move that bit of code to the beginning/end of _paramiko_auth().