Browse Source

日志管理

zouxuan 1 year ago
parent
commit
9268777509
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cooleshow-app/src/main/resources/logback-spring.xml

+ 2 - 0
cooleshow-app/src/main/resources/logback-spring.xml

@@ -79,6 +79,7 @@
 		<root level="INFO">
 			<appender-ref ref="stdout" />
 			<appender-ref ref="file" />
+			<appender-ref ref="mysql_log" />
 			<appender-ref ref="plumelog" />
 		</root>
 	</springProfile>
@@ -88,6 +89,7 @@
 		<root level="INFO">
 			<appender-ref ref="stdout" />
 			<appender-ref ref="file" />
+			<appender-ref ref="mysql_log" />
 			<appender-ref ref="plumelog" />
 		</root>
 	</springProfile>