博主首页
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 47 下一页
摘要: 问题描述、现象 项目正常运行 日志文件生成以及文件名都看不出来问题 日志里记录的信息也可以记录完整的每次请求记录 偶尔随机丢失一次或者多次完整的请求记录,与没有收到用户请求情况相同 问题排查 排除AsyncAppender的丢失机制导致,可以将日志记录方式先改为同步方式或者discardThresh 阅读全文
posted @ 2023-11-30 10:27 笑~笑 阅读(623) 评论(0) 推荐(0)
摘要: 获取当前数据库连接数 @Resource private DruidDataSource druidDataSource; int activeCount = druidDataSource.getActiveCount(); int activePeak = druidDataSource.get 阅读全文
posted @ 2023-10-11 14:10 笑~笑 阅读(136) 评论(0) 推荐(0)
摘要: 排除依赖 <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> </exclusion> </exclusions> 阅读全文
posted @ 2023-09-22 13:53 笑~笑 阅读(78) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-09-21 11:44 笑~笑 阅读(244) 评论(0) 推荐(0)
摘要: 配置 mybatis-plus: configuration: map-underscore-to-camel-case: true cache-enabled: false global-config: db-config: column-underline: true db-type: mysq 阅读全文
posted @ 2023-09-06 14:32 笑~笑 阅读(167) 评论(0) 推荐(0)
摘要: public interface PlanDayMapper extends MPJBaseMapper<PwPlanDayPO> { } MPJLambdaWrapper<PwPlanDayPO> wrapper = MPJWrappers.lambdaJoin(PwPlanDayPO.class 阅读全文
posted @ 2023-09-04 11:49 笑~笑 阅读(1145) 评论(0) 推荐(0)
摘要: mybatis-plus: configuration: #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl map-underscore-to-camel-case: true cache-enabled: false global-con 阅读全文
posted @ 2023-08-31 14:39 笑~笑 阅读(332) 评论(0) 推荐(0)
摘要: logging: level: org: hibernate: SQL: DEBUG type: descriptor: sql: BasicBinder: TRACE 阅读全文
posted @ 2023-08-31 14:28 笑~笑 阅读(119) 评论(0) 推荐(0)
摘要: @Transient直接忽略 新增和修改忽略 @Column(name ="`exc_status`", insertable = false, updatable = false) @ApiModelProperty(value = "执行状态:字典(0101020302)") private P 阅读全文
posted @ 2023-08-03 16:45 笑~笑 阅读(128) 评论(0) 推荐(0)
摘要: <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> <version>5.6.0</version> </dependency> <dependency> <groupId>net.java.de 阅读全文
posted @ 2023-07-14 14:14 笑~笑 阅读(416) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 47 下一页