This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/develop by this push:
new e604a557e6 Minor logging improvements to ssh agent
e604a557e6 is described below
commit e604a557e61f690584ce9638d9307ec966555edd
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Fri Nov 11 10:16:55 2022 -0500
Minor logging improvements to ssh agent
---
.../main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
b/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
index 5e6059f7a8..79a7dfca96 100644
---
a/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
+++
b/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
@@ -143,6 +143,9 @@ public class SSHJAgentAdaptor implements AgentAdaptor {
int selectedPort = sshJobSubmission.getSshPort() == 0 ? 22 :
sshJobSubmission.getSshPort();
+ logger.info("Using user {}, Host {}, Port {} to create ssh client
for compute resource {}",
+ userId, selectedHostName, selectedPort, computeResource);
+
createPoolingSSHJClient(userId, selectedHostName, selectedPort,
sshCredential.getPublicKey(),
sshCredential.getPrivateKey(), sshCredential.getPassphrase());