Skip to content

Commit

Permalink
less logging
Browse files Browse the repository at this point in the history
  • Loading branch information
janvitek committed Apr 26, 2013
1 parent 6945e67 commit abb2289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/water/AutoBuffer.java
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ private void tcpOpen() throws IOException {
//sock = SocketChannel.open( _h2o._key );
break;
} // Explicitly ignore the following exceptions but fail on the rest
catch (ConnectException e) { Log.err(ex = e); }
catch (SocketTimeoutException e) { Log.err(ex = e); }
catch (IOException e) { Log.err(ex = e); }
catch (ConnectException e) { ex = e; }
catch (SocketTimeoutException e) { ex = e; }
catch (IOException e) { ex = e; }
finally {
if( ex != null ) {
H2O.ignore(ex, "TCP open problem, waiting and retrying...", false);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/water/Timer.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public String toString() {
}

/** return the start time of this timer.**/
public String startAsString() { return new SimpleDateFormat("[dd-MMM hh:mm:ss:SS]").format(new Date(_start)); }
public String startAsString() { return new SimpleDateFormat("[dd-MMM hh:mm:ss:SSS]").format(new Date(_start)); }

}

0 comments on commit abb2289

Please sign in to comment.