<!--
%p:输出优先级,即DEBUG,INFO,WARN,ERROR,FATAL
%r:输出自应用启动到输出该日志讯息所耗费的毫秒数
%t:输出产生该日志事件的线程名
%f:输出日志讯息所属的类别的类别名
%c:输出日志讯息所属的类的全名
%d:输出日志时间点的日期或时间,指定格式的方式: %d{yyyy-MM-dd HH:mm:ss}
%l:输出日志事件的发生位置,即输出日志讯息的语句在他所在类别的第几行。
%m:输出代码中指定的讯息,如log(message)中的message
%n:输出一个换行符号
-->
<Pattern>[%green(%d{ISO8601})] [%highlight(%-5level)] [%blue(%t)] [%yellow(%C{1.})] - [%blue(%line)] - [%yellow(%replace(%caller{1}){'\t|Caller.{1}0|\r\n', ''})] - %msg%n%throwable</Pattern>
[2023-07-10 20:10:16,741] [INFO ] [main] [org.quartz.core.QuartzScheduler] – [229] – [ at org.quartz.core.QuartzScheduler.<init>(QuartzScheduler.java:229)] – Quartz Scheduler v.2.3.2 created.
[2023-07-10 20:10:16,742] [INFO ] [main] [org.quartz.simpl.RAMJobStore] – [155] – [ at org.quartz.simpl.RAMJobStore.initialize(RAMJobStore.java:155)] – RAMJobStore initialized.
[2023-07-10 20:10:16,745] [INFO ] [main] [org.quartz.core.QuartzScheduler] – [294] – [ at org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:294)] – Scheduler meta-data: Quartz Scheduler (v2.3.2) ‘quartzScheduler’ with instanceId ‘NON_CLUSTERED’
Scheduler class: ‘org.quartz.core.QuartzScheduler’ – running locally.
版权声明:本文为liudong200618原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。