-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
访问日志功能优化 #237
Labels
enhancement
New feature or request
Milestone
Comments
Hccake
added a commit
that referenced
this issue
Jun 13, 2023
Hccake
added a commit
that referenced
this issue
Jun 14, 2023
Hccake
added a commit
to ballcat-projects/ballcat-business
that referenced
this issue
Jun 14, 2023
Hccake
added a commit
that referenced
this issue
Jun 27, 2023
Hccake
added a commit
that referenced
this issue
Jun 27, 2023
Hccake
added a commit
that referenced
this issue
Jun 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
日志处理拆分,在放行前和放行后分别添加钩子,方便对于部分耗时较久的请求先打印出简单请求记录,后打印出完整访问日志,也方便分开记录请求和响应。可以参考 org.springframework.web.filter.AbstractRequestLoggingFilter
添加配置用以控制排除部分 Method 类型请求,比如部分用户不需要记录 OPTION 预检请求,可以通过配置排除
更方便的控制是否记录请求体与响应体 日志模块记录访问日志,能否考虑接口自定义是否记录访问日志的请求头或返回体 #236
The text was updated successfully, but these errors were encountered: