From d928de507e22322f7149cba6062d5a54c0e60b9e Mon Sep 17 00:00:00 2001 From: Yixian Date: Sat, 13 Nov 2021 08:58:16 +0800 Subject: [PATCH] add logger --- .../manage/analysis/core/impls/DashboardServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/au/com/royalpay/payment/manage/analysis/core/impls/DashboardServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/analysis/core/impls/DashboardServiceImpl.java index 9d7dc7f86..c2dafa563 100644 --- a/src/main/java/au/com/royalpay/payment/manage/analysis/core/impls/DashboardServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/analysis/core/impls/DashboardServiceImpl.java @@ -557,6 +557,9 @@ public class DashboardServiceImpl implements DashboardService, DashboardAnalysis } private void generateData(DateFormat format, String date, JSONObject client) { + if (client.getIntValue("client_id") == 0) { + logger.info("analysising platform customers data", new RuntimeException("debug exception")); + } JSONObject params = new JSONObject(); String timezone = client.getString("timezone"); if (timezone != null) {