Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None

      Description

      As we are noticing ssh transport issues, it would be a good idea to log the "jclouds.ssh" logger at TRACE level to its own file.

      1. WHIRR-418.patch
        18 kB
        Adrian Cole

        Activity

        Hide
        Andrei Savu added a comment -

        Committed to trunk. Thanks Adrian!

        Show
        Andrei Savu added a comment - Committed to trunk. Thanks Adrian!
        Hide
        Andrei Savu added a comment -

        +1

        Show
        Andrei Savu added a comment - +1
        Hide
        Adrian Cole (Inactive) added a comment -

        patch ready for review and/or commit

        Show
        Adrian Cole (Inactive) added a comment - patch ready for review and/or commit
        Hide
        Adrian Cole (Inactive) added a comment -

        With the patch, you get lots more detail, inside the file jclouds-ssh.log:

        Adrian-Coles-MacBook-Pro:whirr adriancole$ tail services/zookeeper//target/test-data/jclouds-ssh.log
        2011-10-30 11:06:40,555 DEBUG [jclouds.ssh] (user thread 0) << (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.183.9:22) acquired [output=, error=, exitCode=0]
        2011-10-30 11:06:40,555 DEBUG [jclouds.ssh] (user thread 0) >> (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.183.9:22) acquiring ExecResponse(command=[./configure-zookeeper tailerr])
        2011-10-30 11:06:40,555 DEBUG [jclouds.ssh] (user thread 0) >> (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.183.9:22) acquiring Session()
        2011-10-30 11:06:40,558 DEBUG [jclouds.ssh] (user thread 3) << (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.182.237:22) acquired [output=, error=, exitCode=0]
        2011-10-30 11:06:40,558 DEBUG [jclouds.ssh] (user thread 3) >> (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.182.237:22) acquiring ExecResponse(command=[./configure-zookeeper tailerr])
        2011-10-30 11:06:40,558 DEBUG [jclouds.ssh] (user thread 3) >> (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.182.237:22) acquiring Session()
        2011-10-30 11:06:40,641 DEBUG [jclouds.ssh] (user thread 3) << (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.182.237:22) acquired < session channel: id=14, recipient=1, localWin=[winSize=2097152], remoteWin=[winSize=0] >
        2011-10-30 11:06:40,654 DEBUG [jclouds.ssh] (user thread 0) << (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.183.9:22) acquired < session channel: id=14, recipient=1, localWin=[winSize=2097152], remoteWin=[winSize=0] >
        2011-10-30 11:06:40,666 DEBUG [jclouds.ssh] (user thread 3) << (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.182.237:22) acquired [output=, error=, exitCode=0]
        2011-10-30 11:06:40,679 DEBUG [jclouds.ssh] (user thread 0) << (adriancole:rsa[fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)]@31.222.183.9:22) acquired [output=, error=, exitCode=0]

        Show
        Adrian Cole (Inactive) added a comment - With the patch, you get lots more detail, inside the file jclouds-ssh.log: Adrian-Coles-MacBook-Pro:whirr adriancole$ tail services/zookeeper//target/test-data/jclouds-ssh.log 2011-10-30 11:06:40,555 DEBUG [jclouds.ssh] (user thread 0) << (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.183.9:22) acquired [output=, error=, exitCode=0] 2011-10-30 11:06:40,555 DEBUG [jclouds.ssh] (user thread 0) >> (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.183.9:22) acquiring ExecResponse(command= [./configure-zookeeper tailerr] ) 2011-10-30 11:06:40,555 DEBUG [jclouds.ssh] (user thread 0) >> (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.183.9:22) acquiring Session() 2011-10-30 11:06:40,558 DEBUG [jclouds.ssh] (user thread 3) << (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.182.237:22) acquired [output=, error=, exitCode=0] 2011-10-30 11:06:40,558 DEBUG [jclouds.ssh] (user thread 3) >> (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.182.237:22) acquiring ExecResponse(command= [./configure-zookeeper tailerr] ) 2011-10-30 11:06:40,558 DEBUG [jclouds.ssh] (user thread 3) >> (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.182.237:22) acquiring Session() 2011-10-30 11:06:40,641 DEBUG [jclouds.ssh] (user thread 3) << (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.182.237:22) acquired < session channel: id=14, recipient=1, localWin= [winSize=2097152] , remoteWin= [winSize=0] > 2011-10-30 11:06:40,654 DEBUG [jclouds.ssh] (user thread 0) << (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.183.9:22) acquired < session channel: id=14, recipient=1, localWin= [winSize=2097152] , remoteWin= [winSize=0] > 2011-10-30 11:06:40,666 DEBUG [jclouds.ssh] (user thread 3) << (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.182.237:22) acquired [output=, error=, exitCode=0] 2011-10-30 11:06:40,679 DEBUG [jclouds.ssh] (user thread 0) << (adriancole:rsa [fingerprint(4d:82:d5:b3:73:30:de:96:36:db:80:51:12:54:10:84),sha1(0c:33:d0:96:f3:a4:89:c7:5d:be:23:61:2e:63:3c:31:af:5c:99:a4)] @31.222.183.9:22) acquired [output=, error=, exitCode=0]

          People

          • Assignee:
            Adrian Cole (Inactive)
            Reporter:
            Adrian Cole (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development