Log level
This commit is contained in:
@@ -30,14 +30,14 @@ public class ThreadPoolExecutorWrapper {
|
||||
|
||||
public void execute(Runnable task) {
|
||||
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();
|
||||
executor.execute(() -> {
|
||||
try {
|
||||
task.run();
|
||||
} finally {
|
||||
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
|
||||
public void cleanSession(String clientID) {
|
||||
LOG.error("Fooooooooo <{}>", clientID);
|
||||
LOG.info("Fooooooooo <{}>", clientID);
|
||||
|
||||
Session session = sessions.get(clientID);
|
||||
if (session == null) {
|
||||
|
||||
Reference in New Issue
Block a user