feat: 优化设备冷却管理,增加原子设备占用逻辑和过期记录处理
This commit is contained in:
@@ -17,7 +17,7 @@ mybatis-plus:
|
||||
type-aliases-package: com.gameplatform.server.model.entity
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 注释掉以关闭SQL日志
|
||||
global-config:
|
||||
db-config:
|
||||
id-type: auto
|
||||
@@ -37,10 +37,28 @@ management:
|
||||
logging:
|
||||
level:
|
||||
root: info
|
||||
com.gameplatform.server: info
|
||||
com.baomidou.mybatisplus: info
|
||||
org.apache.ibatis: info
|
||||
com.zaxxer.hikari: info
|
||||
com.gameplatform.server: debug # 保持整体调试
|
||||
# 仅保留设备解析最终汇总(INFO),其余降级
|
||||
com.gameplatform.server.service.device.DeviceStatusService: info
|
||||
com.gameplatform.server.service.device.DeviceStatusCheckService: info
|
||||
# 脚本客户端与定时任务降噪
|
||||
com.gameplatform.server.service.external.ScriptClient: warn
|
||||
com.gameplatform.server.task.DeviceStatusCheckTask: warn
|
||||
com.gameplatform.server.task.UsingLinkCheckTask: warn
|
||||
# 完成检测服务降噪(屏蔽debug“置信度低”之类日志)
|
||||
com.gameplatform.server.service.detection.GameCompletionDetectionService: warn
|
||||
# 设备任务更新服务:只保留警告/错误(不输出“开始处理设备/点数已更新为”等调试信息)
|
||||
com.gameplatform.server.service.link.DeviceTaskUpdateService: warn
|
||||
# Mapper 与 SQL 调用降噪(屏蔽 MyBatis 的参数/SQL DEBUG)
|
||||
com.gameplatform.server.mapper: warn
|
||||
com.baomidou.mybatisplus: warn
|
||||
org.apache.ibatis: warn
|
||||
org.mybatis: warn
|
||||
com.zaxxer.hikari: warn
|
||||
pattern:
|
||||
console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
|
||||
console:
|
||||
enabled: true
|
||||
|
||||
security:
|
||||
jwt:
|
||||
|
||||
Reference in New Issue
Block a user