From dea35289149c88a91677e5d27ea42aac8c902d07 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 22 十一月 2024 21:26:57 +0800 Subject: [PATCH] feign xml 实现 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/MyOpenFeignConfig.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/MyOpenFeignConfig.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/MyOpenFeignConfig.java index 8c85ccc..ccc52f8 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/MyOpenFeignConfig.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/config/MyOpenFeignConfig.java @@ -1,5 +1,6 @@ package cn.lihu.jh.module.ecg.config; +import feign.Logger; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @@ -18,4 +19,9 @@ ObjectFactory<HttpMessageConverters> objectFactory = () -> new HttpMessageConverters(converter); return new SpringDecoder(objectFactory); } + + @Bean + Logger.Level feignLoggerLevel() { + return Logger.Level.FULL; // 璁剧疆Feign鏃ュ織绾у埆涓篎ULL + } } -- Gitblit v1.9.3