loggerName

c{length
lo{length
logger{length}

length=0 是类名

--------------------------------------------------------------------------------------------------------------------------------------------------------

contextName
<configuration>
    <springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
    <contextName>${APP_NAME}</contextName>
</configuration>

contextName
cn
 

--------------------------------------------------------------------------------------------------------------------------------------------------------

dateFormat

d{pattern
date{pattern}

%date{HH:mm:ss.SSS}

%d{yyyy-MM-dd HH:mm:ss.SSS}

--------------------------------------------------------------------------------------------------------------------------------------------------------

line 

L / line   (Thus, its use should be avoided unless execution speed is not an issue.)

输出行数

--------------------------------------------------------------------------------------------------------------------------------------------------------

method

M / method  (Thus, its use should be avoided unless execution speed is not an issue.)

输出方法名

--------------------------------------------------------------------------------------------------------------------------------------------------------

message

m / msg / message

输出日志内容

--------------------------------------------------------------------------------------------------------------------------------------------------------

level

p / le / level

输出日志级别

--------------------------------------------------------------------------------------------------------------------------------------------------------

thread

t / thread

输出线程名

--------------------------------------------------------------------------------------------------------------------------------------------------------