<property>{"jv_time":"%d{yyyy-MM-dd HH:mm:ss.SSS}","jv_level":"%level","jv_thread":"%thread","jv_class":"%logger","jv_method":"%M","jv_message":"%replace{%replace{%msg}{"}{\\"}}{\n}{|}","jv_throwable":"%replace{%replace{%xEx}{"}{\\"}}{[\n\r\t]}{|}"}%n{%xEx}{none}</property>
</properties>
<appenders>
...
...
重启java项目后,此时日志中的输出就变成json格式了。