Skip to content

Commit

Permalink
Changed log levels (Fixes #161)
Browse files Browse the repository at this point in the history
  • Loading branch information
hierynomus committed Jan 9, 2015
1 parent 834f0f2 commit 268de45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/schmizz/sshj/common/StreamCopier.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public long copy()

final double timeSeconds = (System.currentTimeMillis() - startTime) / 1000.0;
final double sizeKiB = count / 1024.0;
log.info("{} KiB transferred in {} seconds ({} KiB/s)", sizeKiB, timeSeconds, (sizeKiB / timeSeconds));
log.debug("{} KiB transferred in {} seconds ({} KiB/s)", sizeKiB, timeSeconds, (sizeKiB / timeSeconds));

if (length != -1 && read == -1)
throw new IOException("Encountered EOF, could not transfer " + length + " bytes");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void changeWindowDimensions(int cols, int rows, int width, int height)
public Command exec(String command)
throws ConnectionException, TransportException {
checkReuse();
log.info("Will request to exec `{}`", command);
log.debug("Will request to exec `{}`", command);
sendChannelRequest("exec", true, new Buffer.PlainBuffer().putString(command))
.await(conn.getTimeoutMs(), TimeUnit.MILLISECONDS);
usedUp = true;
Expand Down

0 comments on commit 268de45

Please sign in to comment.