增强日志配置:启用DEBUG级别详细日志记录

- 配置logback-spring.xml启用所有com.starry包的DEBUG日志
- 新增Spring框架请求处理和安全相关的DEBUG日志
- 启用MyBatis Plus和数据库SQL查询的详细日志
- 更新application-dev.yml添加各模块的DEBUG级别配置
- 改善问题排查和系统监控能力

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
irving
2025-08-28 22:44:06 -04:00
parent 33d4df8e52
commit f4c412be9d
2 changed files with 21 additions and 2 deletions

View File

@@ -77,6 +77,17 @@
<appender-ref ref="ERROR_FILE"/>
</root>
<!-- Set all application loggers to DEBUG -->
<logger name="com.starry" level="debug"/>
<logger name="com.ctrod" level="info"/>
<!-- Spring framework debug logging for requests -->
<logger name="org.springframework.web.servlet.DispatcherServlet" level="debug"/>
<logger name="org.springframework.security" level="debug"/>
<!-- Database query logging -->
<logger name="org.hibernate.SQL" level="debug"/>
<logger name="org.hibernate.type.descriptor.sql.BasicBinder" level="trace"/>
<logger name="com.baomidou.mybatisplus" level="debug"/>
</configuration>