fgimian / paramiko-expect

A Python expect-like extension for the Paramiko SSH library which also supports tailing logs.
MIT License
204 stars 78 forks source link

Using logging instead of print for timeout message #93

Closed oskrdt closed 1 year ago

oskrdt commented 1 year ago

Changing the method to print the informational message of EXCESS TIME RECV_READY TIMEOUT, did you expect() before a send() from print to logging.info. I'm using info level since getting ti this case may be desired and might not need additional messages.

AngelZacarias commented 1 year ago

Looks like a good enhancement