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

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit df6dc6119003c7d6ebe3bf3a237ad4d9d56982d1 in branch refs/heads/trunk from Tomaz Muraus
        [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=df6dc61 ]

        Add log statements to our ParamikoSSHClient wrapper. This should make
        debugging deployment issues easier.

        Part of LIBCLOUD-414.

        Show
        jira-bot ASF subversion and git services added a comment - Commit df6dc6119003c7d6ebe3bf3a237ad4d9d56982d1 in branch refs/heads/trunk from Tomaz Muraus [ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=df6dc61 ] Add log statements to our ParamikoSSHClient wrapper. This should make debugging deployment issues easier. Part of LIBCLOUD-414 .

          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:

              Development