|
@@ -0,0 +1,20 @@
|
|
|
|
|
+package anyi.space.memberConsumer.config;
|
|
|
|
|
+
|
|
|
|
|
+import feign.Logger;
|
|
|
|
|
+import org.springframework.context.annotation.Bean;
|
|
|
|
|
+import org.springframework.context.annotation.Configuration;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * @ProjectName: distributedSystemLearn
|
|
|
|
|
+ * @FileName: OpenFeignConfig
|
|
|
|
|
+ * @Author: 杨逸
|
|
|
|
|
+ * @Data:2025/5/16 20:23
|
|
|
|
|
+ * @Description: 设置OpenFeign的日志级别
|
|
|
|
|
+ */
|
|
|
|
|
+@Configuration
|
|
|
|
|
+public class OpenFeignConfig {
|
|
|
|
|
+ @Bean
|
|
|
|
|
+ public Logger.Level loggerLevel(){
|
|
|
|
|
+ return Logger.Level.FULL;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|