From 70863c500e4cba47eb09b08848a2105ebb108e31 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 30 May 2015 20:50:29 +1200 Subject: Disable async session debug --- src/org/traccar/http/AsyncServlet.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/org/traccar/http') diff --git a/src/org/traccar/http/AsyncServlet.java b/src/org/traccar/http/AsyncServlet.java index 4a83e09fd..16402e24b 100644 --- a/src/org/traccar/http/AsyncServlet.java +++ b/src/org/traccar/http/AsyncServlet.java @@ -48,7 +48,7 @@ public class AsyncServlet extends HttpServlet { public class AsyncSession { - private static final boolean DEBUG_ASYNC = true; + private static final boolean DEBUG_ASYNC = false; private static final long SESSION_TIMEOUT = 30; private static final long REQUEST_TIMEOUT = 10; @@ -79,12 +79,6 @@ public class AsyncServlet extends HttpServlet { Context.getDataCache().addListener(devices, dataListener); } - - @Override - protected void finalize() throws Throwable { - super.finalize(); - logEvent("finalize"); - } private final DataCache.DataCacheListener dataListener = new DataCache.DataCacheListener() { @Override -- cgit v1.2.3