Log level

This commit is contained in:
heavyrain lee
2019-04-25 08:19:07 +08:00
parent 90c8e49808
commit 21aa248d49
2 changed files with 3 additions and 3 deletions
@@ -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) {