Skip to content

Commit

Permalink
Remove verbose logging of command string from ExtSSHExec
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Apr 10, 2012
1 parent 3f110cd commit dd2ab20
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -269,20 +269,13 @@ public void disconnect() {

/* called once */
if (command != null) {
if (getVerbose()) {
log("cmd : " + command);
}
executeCommand(session, command, output);
} else { // read command resource and execute for each command
try {
BufferedReader br = new BufferedReader(
new InputStreamReader(commandResource.getInputStream()));
String cmd;
while ((cmd = br.readLine()) != null) {
if (getVerbose()) {
log("cmd : " + cmd);
}
output.append(cmd).append(" : ");
executeCommand(session, cmd, output);
output.append("\n");
}
Expand Down

0 comments on commit dd2ab20

Please sign in to comment.