sandu-common/src/main/resources/logback-spring.xml
@@ -68,14 +68,19 @@ </root> </springProfile> <springProfile name="test"> <springProfile name="local"> <root level="info" > <appender-ref ref="STDOUT"/> </root> </springProfile> <springProfile name="xm_local"> <root level="info" > <appender-ref ref="STDOUT"/> </root> </springProfile> <!-- 生产环境. 日志级别为WARN且写日志文件--> <springProfile name="prod,docker"> <springProfile name="prod,docker,xm_lj"> <root level="warn"> <appender-ref ref="STDOUT"/> <appender-ref ref="ASYNC"/>