Skip to content

Commit

Permalink
Improved logging of ProbeConnected.isCollectRunning
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacchella committed May 31, 2013
1 parent 91c4ce1 commit ba88051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jrds/ProbeConnected.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public boolean isCollectRunning() {
String cnxName = getConnectionName();
Connection<?> cnx = find(Connection.class, cnxName);
if(getNamedLogger().isTraceEnabled())
log(Level.TRACE, "Connection: %s", (cnx != null ? Boolean.toString(cnx.isStarted()) : "null") );
log(Level.TRACE, "Connection %s started: %s", cnxName, (cnx != null ? Boolean.toString(cnx.isStarted()) : "null") );
if(cnx == null || ! cnx.isStarted())
return false;
return super.isCollectRunning();
Expand Down

0 comments on commit ba88051

Please sign in to comment.