Spring cloud eureka的日志级别
2020-03-10 本文已影响0人
天冷请穿衣
2020-03-10
四个级别:
- NONE: No logging(DEFAULT).
- BASIC: Log only the request method and URL and the response status code and execution time.
- HEADERS: Log the basic information along with request and response headers.
- FULL:Log the headers, body, and metadata for both requests and responses.
yaml的配置方式:
feign:
client:
config:
feignName:
connectTimeout: 5000
readTimeout: 5000
loggerLevel: full