Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-414

Add log statements to our SSH client wrapper

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0-beta3
    • Component/s: Core
    • Labels:

      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

        Attachments

          Activity

            People

            • Assignee:
              kami Tomaz Muraus
              Reporter:
              kami Tomaz Muraus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: