11 2023 档案

摘要:Spring Boot 请求响应日志打印 接口请求日志打印效果如图,基本符合中小型项目所需 直接上代码 本代码中使用了hutool的工具包,需要先导入依赖 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifa 阅读全文
posted @ 2023-11-27 15:49 -西门- 阅读(1000) 评论(0) 推荐(1) 编辑
摘要:springboot集成plumelog-lite日志管理 一个超级宝藏的开源日志管理系统:Plumelog: 一个简单易用的java日志系统,解放你的日志查询困难问题,方便快速追踪问题,安装配置简单,性能优秀 演示视频地址:https://v.qq.com/x/page/g3308uxlcnw.h 阅读全文
posted @ 2023-11-03 01:32 -西门- 阅读(697) 评论(0) 推荐(0) 编辑
摘要:启动springboot项目jar包按时间格式化保存日志 手动启动结尾可以加&号 nohup java -jar demo-0.0.1-SNAPSHOT.jar >> /usr/application/log-demo/app-$(date +%Y-%m-%d).log 2>&1 & 其中 /usr 阅读全文
posted @ 2023-11-03 01:14 -西门- 阅读(347) 评论(0) 推荐(0) 编辑