Ver Fonte

conf:logback

pudongliang há 4 meses atrás
pai
commit
0ebbcf271d
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      src/main/resources/logback-spring.xml

+ 6 - 0
src/main/resources/logback-spring.xml

@@ -97,6 +97,12 @@
         </root>
     </springProfile>
 
+    <springProfile name="mcp">
+        <root level="INFO">
+            <appender-ref ref="plumelog"/>
+        </root>
+    </springProfile>
+
     <!-- 默认配置 -->
     <root level="INFO">
         <appender-ref ref="CONSOLE"/>