|
@ -94,6 +94,38 @@ https://juejin.cn/post/6844903775631572999 |
|
|
</logger> |
|
|
</logger> |
|
|
</springProfile> |
|
|
</springProfile> |
|
|
|
|
|
|
|
|
|
|
|
<!--开发环境:打印控制台--> |
|
|
|
|
|
<springProfile name="dev2"> |
|
|
|
|
|
<root level="debug"> |
|
|
|
|
|
<appender-ref ref="asyncLuceneAppender"/> |
|
|
|
|
|
<appender-ref ref="CONSOLE"/> |
|
|
|
|
|
</root> |
|
|
|
|
|
<logger name="jdbc" level="ERROR" additivity="true"> |
|
|
|
|
|
<appender-ref ref="asyncFileAppender"/> |
|
|
|
|
|
</logger> |
|
|
|
|
|
<logger name="org.springframework" level="ERROR" additivity="true"> |
|
|
|
|
|
<appender-ref ref="asyncFileAppender"/> |
|
|
|
|
|
</logger> |
|
|
|
|
|
<logger name="org.hibernate" level="ERROR" additivity="true"> |
|
|
|
|
|
<appender-ref ref="asyncFileAppender"/> |
|
|
|
|
|
</logger> |
|
|
|
|
|
<logger name="org.quartz" level="ERROR" additivity="true"> |
|
|
|
|
|
<appender-ref ref="asyncFileAppender"/> |
|
|
|
|
|
</logger> |
|
|
|
|
|
<logger name="com.google" level="ERROR" additivity="true"> |
|
|
|
|
|
<appender-ref ref="asyncFileAppender"/> |
|
|
|
|
|
</logger> |
|
|
|
|
|
<logger name="org.redisson" level="ERROR" additivity="true"> |
|
|
|
|
|
<appender-ref ref="asyncFileAppender"/> |
|
|
|
|
|
</logger> |
|
|
|
|
|
<logger name="org.springframework.data" level="ERROR" additivity="true"> |
|
|
|
|
|
<appender-ref ref="asyncFileAppender"/> |
|
|
|
|
|
</logger> |
|
|
|
|
|
<logger name="org.jinterop" level="ERROR" additivity="true"> |
|
|
|
|
|
<appender-ref ref="asyncFileAppender"/> |
|
|
|
|
|
</logger> |
|
|
|
|
|
</springProfile> |
|
|
|
|
|
|
|
|
<!--测试环境:打印控制台--> |
|
|
<!--测试环境:打印控制台--> |
|
|
<springProfile name="test"> |
|
|
<springProfile name="test"> |
|
|
<!-- 打印sql --> |
|
|
<!-- 打印sql --> |
|
|