Skip to content

Commit

Permalink
Log ssh connection username at verbose level
Browse files Browse the repository at this point in the history
for issue #189
  • Loading branch information
gschueler committed Oct 19, 2012
1 parent cb1ca08 commit 1138980
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -252,7 +252,12 @@ public NodeExecutorResult executeCommand(final ExecutionContext context, final S
}else {
responderFuture = null;
}

if (null != context.getExecutionListener()) {
context.getExecutionListener().log(3,
"Starting SSH Connection: " + nodeAuthentication.getUsername() + "@"
+ node.getHostname() + " ("
+ node.getNodename() + ")");
}
String errormsg = null;
try {
sshexec.execute();
Expand Down

0 comments on commit 1138980

Please sign in to comment.