Log level
This commit is contained in:
@@ -30,14 +30,14 @@ public class ThreadPoolExecutorWrapper {
|
|||||||
|
|
||||||
public void execute(Runnable task) {
|
public void execute(Runnable task) {
|
||||||
int startCount = runCounter.incrementAndGet();
|
int startCount = runCounter.incrementAndGet();
|
||||||
LOG.info("Submit task and current taskcount {}", startCount);
|
LOG.debug("Submit task and current task count {}", startCount);
|
||||||
final long startTime = System.currentTimeMillis();
|
final long startTime = System.currentTimeMillis();
|
||||||
executor.execute(() -> {
|
executor.execute(() -> {
|
||||||
try {
|
try {
|
||||||
task.run();
|
task.run();
|
||||||
} finally {
|
} finally {
|
||||||
int endCount = runCounter.decrementAndGet();
|
int endCount = runCounter.decrementAndGet();
|
||||||
LOG.info("Finish task and current taskcount {} use time {}", endCount, System.currentTimeMillis()-startTime);
|
LOG.debug("Finish task and current task count {} use time {}", endCount, System.currentTimeMillis()-startTime);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -525,7 +525,7 @@ public class MemorySessionStore implements ISessionsStore {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void cleanSession(String clientID) {
|
public void cleanSession(String clientID) {
|
||||||
LOG.error("Fooooooooo <{}>", clientID);
|
LOG.info("Fooooooooo <{}>", clientID);
|
||||||
|
|
||||||
Session session = sessions.get(clientID);
|
Session session = sessions.get(clientID);
|
||||||
if (session == null) {
|
if (session == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user