Explorar el Código

添加日志信息

ChenYu hace 7 meses
padre
commit
d12e6f2add
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/main/resources/logback-spring.xml

+ 2 - 2
src/main/resources/logback-spring.xml

@@ -33,8 +33,8 @@
         </root>
     </springProfile>
 
-    <!-- SIT和生产环境:JSON 格式日志 -->
-    <springProfile name="sit | prod">
+    <!-- 测试和生产环境 -->
+    <springProfile name="sit,test,prod,pro">
         <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
             <encoder>
                 <pattern>${LOG_PATTERN}</pattern>