From 74939f3cdbb89748798fc03bbd7a2ccc81b46ad7 Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Wed, 18 Jan 2017 14:16:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=BC=82=E5=B8=B8=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/thread/ThreadCheckoutStandardOracle.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/platform/service/thread/ThreadCheckoutStandardOracle.java b/src/com/platform/service/thread/ThreadCheckoutStandardOracle.java index 5fdd39f0..addbbe7d 100644 --- a/src/com/platform/service/thread/ThreadCheckoutStandardOracle.java +++ b/src/com/platform/service/thread/ThreadCheckoutStandardOracle.java @@ -111,7 +111,7 @@ public class ThreadCheckoutStandardOracle extends Thread { //更新数据库 this.updateDataInfo(tmp); } catch (Exception e) { - log.error(e.getMessage()); + log.error(e); } } } @@ -122,7 +122,7 @@ public class ThreadCheckoutStandardOracle extends Thread { try { Thread.sleep(1000*60); } catch (InterruptedException e) { - log.error(e.getMessage()); + log.error(e); } } } @@ -253,7 +253,7 @@ public class ThreadCheckoutStandardOracle extends Thread { log.info("更新replicationController标签: " + key + "\t[标签更新为: 已校验]"); } catch (Exception e) { - log.error(e.getStackTrace()); + log.error(e); } // 成功 就 清除 CacheOracleCheckoutEntity 中 的该条记录 CacheOracleCheckoutEntity.checkRemove(key);