Skip to content

Commit

Permalink
Better log levels to track RC garbage collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Hanrigou committed Jul 16, 2009
1 parent e920a20 commit 5ea801e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void run() {

public void garbageCollectRemoteControls() {
sleepForALittleWhile();
LOGGER.debug("Garbage collecting unavailable RCs and stale sessions...");
LOGGER.info("Garbage collecting unavailable RCs and stale sessions...");
pool.unregisterAllUnresponsiveRemoteControls();
pool.recycleAllSessionsIdleForTooLong(sessionMaxIdleTimeInSeconds);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected Response request(HttpMethod method) throws IOException {
try {
statusCode = client.executeMethod(method);
body = new String(method.getResponseBody(), "utf-8");
logger.info("Remote Control replied with '" + statusCode + " / '" + body + "'");
logger.debug("Remote Control replied with '" + statusCode + " / '" + body + "'");
return new Response(statusCode, body);
} finally {
method.releaseConnection();
Expand Down

0 comments on commit 5ea801e

Please sign in to comment.