Commit Graph

37 Commits

Author SHA1 Message Date
46773df9dd chore: 优化代码格式 2024-09-11 22:24:46 +08:00
0cede6bf9f chore: 完善 ConditionalOnProperty 配置 2024-09-11 21:22:19 +08:00
梓陌
4caf0a0db6 fix(log): 修复接口耗时统计始终为0ms问题 2024-09-03 06:19:54 +00:00
16b6e9b466 feat(log): 不记录日志也支持开启打印访问日志 2024-08-30 20:40:30 +08:00
httpsjt
52fc9d086d 日志includes引用传递修改问题。 2024-08-30 14:45:50 +08:00
e55eb17d64 feat(web): 新增 isMatch 路径是否匹配方法
match => isMatch
2024-08-19 22:40:53 +08:00
6e76269bb6 fix(log): 仅支持获取 JSON 结构响应体 2024-08-07 19:04:42 +08:00
31c3162563 chore: log-httptrace-pro => log-interceptor 2024-08-01 22:11:40 +08:00
bd07f9b41f refactor(log): 新增 excludePatterns 放行路由配置 2024-07-31 21:11:45 +08:00
0bba30b9c4 fix(log/core): 兼容日志记录 IPv6 IP 归属地场景 2024-06-20 22:51:09 +08:00
5cd6af8e7b chore: 优化部分代码 2024-06-05 19:45:09 +08:00
dbb7a6319e chore: top.charles7c.continew => top.continew 2024-04-09 22:33:19 +08:00
56a22c4bce refactor(log): continew-starter-log-common => continew-starter-log-core 2024-02-19 21:04:17 +08:00
ea71cf573b refactor: 根据 Sonar 建议调整,StrUtil => CharSequenceUtil
工具层调整以减少 Sonar 建议,应用层则可忽略,怎么用方便怎么来
2024-02-07 17:48:32 +08:00
2afb0b625f refactor(log): 优化复数属性命名 include -> includes 2024-02-05 23:33:04 +08:00
669ea85658 refactor(log): Log 注解新增 include、exclude 属性,用于扩展或减少日志包含信息
处理类上 Log 注解的日志包含信息 -> 处理方法上 Log 注解的日志包含信息
2024-02-05 23:27:10 +08:00
18b9d1ba79 refactor(log): 兼容小写 user-agent 情况 2024-02-05 23:18:58 +08:00
2aea8ba831 refactor(log): 默认启用日志 2024-02-04 23:16:06 +08:00
0e3d388eb7 refactor: 优化部分代码
移除所有 toString(),修复 Sonar、Codacy 扫描问题
2024-02-03 10:43:32 +08:00
jasmine
0eb6afabb6 chore: 移除 lombok 依赖
再度精简依赖
2024-01-31 06:02:17 +00:00
fe0bff3d3e refactor: 优化部分代码
修复 Sonar 扫描问题
2024-01-27 14:33:15 +08:00
9cf76fe61f feat(web): 新增 Web 模块,从核心模块拆分 Web 相关自动配置 2024-01-19 22:40:40 +08:00
6d9e8b43eb chore: 移除部分无用 Maven 配置 2024-01-18 20:08:08 +08:00
f3ad2c48a9 fix(log): 修复隐藏接口仍然被记录请求日志的问题 2024-01-17 21:35:37 +08:00
57c21a9109 style: 优化全局代码格式 2024-01-10 21:24:02 +08:00
jasmine
8fdaa5d929 模块和描述优先读取@Log注解的,若没有@Log注解则获取方法和类上的swagger注解说明。 2024-01-10 08:32:05 +08:00
1e7d4b2721 chore: 优化日志级别 info => debug 2024-01-06 11:36:23 +08:00
d68d88db21 perf(log/httptrace-pro): 优化日志过滤器,仅在需要记录请求体、响应体时进行过滤 2024-01-03 21:25:31 +08:00
20250681da refactor: 使用常量优化部分配置属性名 2024-01-02 22:14:00 +08:00
c002e6c593 release: v1.1.0 2023-12-31 13:30:19 +08:00
0b7eea6dac fix(log/httptrace-pro): 取消记录非 JSON 格式请求体 2023-12-29 22:48:44 +08:00
7b12454ce6 fix(log/httptrace-pro): 移除拦截 /error 2023-12-28 22:50:22 +08:00
5500e5d840 refactor(log/httptrace-pro): 重构请求头及响应头信息获取 2023-12-25 20:11:33 +08:00
e9f01d05c9 revert(log/httptrace-pro): 请求 URI => 请求 URL,记录协议、域名信息(保持尽可能完整) 2023-12-25 19:50:52 +08:00
c4007fa290 refactor(log/httptrace-pro): 优化日志记录
1.新增是否打印配置,开启后可打印访问日志(类似于 Nginx access log)
2.TIME_TAKEN 请求耗时,调整为必然记录
3.REQUEST_PARAM 请求参数、RESPONSE_PARAM 响应参数调整为默认记录
4.包含信息配置:BODY 和 PARAM 调整为互斥,包含 BODY 则对应 PARAM 不记录
5.请求 URI 不再记录协议、域名等信息
6.修复部分请求、响应信息记录错误
2023-12-23 22:47:44 +08:00
2a70a9a252 fix(log/httptrace-pro): 修复 IP 配置解析错误,并缩小日志异常影响范围 2023-12-21 20:57:33 +08:00
3e9a59df5a feat(log): 新增日志模块 - HttpTracePro(Spring Boot Actuator HttpTrace 定制增强版) 2023-12-17 14:07:07 +08:00