From ea48115190f6db2902f80c147d95162f4aa9b583 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期日, 28 一月 2024 23:15:37 +0800
Subject: [PATCH] update 优化 删除观测用日志记录

---
 ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java |    3 ---
 ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java    |    2 --
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java b/ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java
index 8d1f518..7d3ab42 100644
--- a/ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java
+++ b/ruoyi-common/ruoyi-common-redis/src/main/java/org/dromara/common/redis/manager/CaffeineCacheDecorator.java
@@ -39,14 +39,12 @@
     @Override
     public ValueWrapper get(Object key) {
         Object o = CAFFEINE.get(getUniqueKey(key), k -> cache.get(key));
-        Console.log("redisson caffeine -> key: " + getUniqueKey(key) + ",value:" + o);
         return (ValueWrapper) o;
     }
 
     @SuppressWarnings("unchecked")
     public <T> T get(Object key, Class<T> type) {
         Object o = CAFFEINE.get(getUniqueKey(key), k -> cache.get(key, type));
-        Console.log("redisson caffeine -> key: " + getUniqueKey(key) + ",value:" + o);
         return (T) o;
     }
 
@@ -85,7 +83,6 @@
     @Override
     public <T> T get(Object key, Callable<T> valueLoader) {
         Object o = CAFFEINE.get(getUniqueKey(key), k -> cache.get(key, valueLoader));
-        Console.log("redisson caffeine -> key: " + getUniqueKey(key) + ",value:" + o);
         return (T) o;
     }
 
diff --git a/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java b/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java
index 2cfc927..0664755 100644
--- a/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java
+++ b/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/core/dao/PlusSaTokenDao.java
@@ -37,7 +37,6 @@
     @Override
     public String get(String key) {
         Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key));
-        Console.log("caffeine -> key:" + key + ",value:" + o);
         return (String) o;
     }
 
@@ -101,7 +100,6 @@
     @Override
     public Object getObject(String key) {
         Object o = CAFFEINE.get(key, k -> RedisUtils.getCacheObject(key));
-        Console.log("caffeine -> key:" + key + ",value:" + o);
         return o;
     }
 

--
Gitblit v1.9.3