Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
Description
Currently we enable paramiko's debug log when user uses LIBCLOUD_DEBUG, but we don't do any additional logging in our paramiko SSH client wrapper.
Paramiko itself doesn't log when it executes a command which makes debugging harder.
We should log the following things in our wrapper:
- Log every command which is executed (command, arguments)
- Log stdout and stderr of every executed command
- Log file uploads and deletes