上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: SLF4J,即简单日志门面(Simple Logging Facade for Java),不是具体的日志解决方案,它只服务于各种各样的日志系统。按照官方的说法,SLF4J是一个用于日志系统的简单Facade,允许最终用户在部署其应用时使用其所希望的日志系统。 LF4J(Simple logging 阅读全文
posted @ 2020-07-23 17:13 songjn 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 1.fastjson太过于侧重性能,部分自定义特性偏离了json和js规范,缺乏通用性; 2.fastjson文档缺失较多,部分Feature甚至没有文档,代码缺少注释; 3.fastjson的CVE bug监测较弱,很多CVE数据库网站上有关fastjson的CVE寥寥无几。 Jackson替换f 阅读全文
posted @ 2020-07-23 10:52 songjn 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 1、pom.xml中增加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> <!-- 去除对默认日志的依赖 --> <exclusions> 阅读全文
posted @ 2020-07-23 10:25 songjn 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 日志级别 OFF > FATAL > ERROR > WARN > INFO > DEBUG > ALL 定义了INFO级别,DEBUG级别的日志不进行打印; 输出日志的位置 org.apache.log4j.ConsoleAppender(控制台) org.apache.log4j.FileApp 阅读全文
posted @ 2020-07-23 10:11 songjn 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 1、json schema 入门请参考下面两篇博客 1.1Json Schema 快速入门 1.2Json Schema 简介 2、java代码实现步骤 2.1引入依赖 <!-- json schema 转换 fge --> <dependency> <groupId>com.github.fge< 阅读全文
posted @ 2020-07-22 17:07 songjn 阅读(3473) 评论(0) 推荐(0) 编辑
摘要: 1、实际案例: React最近其中几个版本发布日志: 从上图,我们不难得出几个结论: 软件的版本通常由三位组成,形如:X.Y.Z 版本是严格递增的,此处是:16.2.0 -> 16.3.0 -> 16.3.1 在发布重要版本时,可以发布alpha, rc等先行版本 alpha和rc等修饰版本的关键字 阅读全文
posted @ 2020-07-21 15:07 songjn 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 1、修改application.yml配置文件中的profiles.active为变量形式 spring: profiles: active: #spring.profiles.active# 2、在pom.xml中增加profiles配置 <profiles> <profile> <id>dev< 阅读全文
posted @ 2020-07-21 13:42 songjn 阅读(471) 评论(0) 推荐(1) 编辑
摘要: 1.in xxx in:name 项目名包含 xxx 的 xxx in:description 项目描述包含 xxx 的 xxx in:readme 项目的 README 文件中包含 xxx 的 xxx repo:owner/name 匹配特定的仓库名称 2.is xxx is:featured 匹 阅读全文
posted @ 2020-07-10 00:18 songjn 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1.Executors 提供四种线程池 1.1创建固定线程数目的线程池 创建使用固定线程数的FixedThreadPool,适用于为了满足资源管理的需求,而需要限制当前线程数量的应用场景,它适用于负载比较重的服务器。 public static ExecutorService newFixedThr 阅读全文
posted @ 2020-07-09 23:37 songjn 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-07-06 16:54 songjn 阅读(91) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页