提交 17803c4c 编写于 作者: sq3536's avatar sq3536

统计

上级 179755fb
...@@ -34,24 +34,24 @@ ...@@ -34,24 +34,24 @@
</triggeringPolicy> </triggeringPolicy>
</appender> </appender>
<appender name="DB-CLASSIC-MYSQL-POOL" class="ch.qos.logback.classic.db.DBAppender"> <!-- <appender name="DB-CLASSIC-MYSQL-POOL" class="ch.qos.logback.classic.db.DBAppender">-->
<connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource"> <!-- <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource">-->
<dataSource class="com.mchange.v2.c3p0.ComboPooledDataSource"> <!-- <dataSource class="com.mchange.v2.c3p0.ComboPooledDataSource">-->
<driverClass>com.mysql.cj.jdbc.Driver</driverClass> <!-- <driverClass>com.mysql.cj.jdbc.Driver</driverClass>-->
<url>jdbc:mysql://127.0.0.1:3306/logback</url> <!-- <url>jdbc:mysql://127.0.0.1:3306/logback</url>-->
<user>root</user> <!-- <user>root</user>-->
<password>root</password> <!-- <password>root</password>-->
<sqlDialect class="ch.qos.logback.core.db.dialect.MySQLDialect" /> <!-- <sqlDialect class="ch.qos.logback.core.db.dialect.MySQLDialect" />-->
</dataSource> <!-- </dataSource>-->
</connectionSource> <!-- </connectionSource>-->
<sqlDialect class="ch.qos.logback.core.db.dialect.MySQLDialect" /> <!-- <sqlDialect class="ch.qos.logback.core.db.dialect.MySQLDialect" />-->
</appender> <!-- </appender>-->
<!-- 异步日志记录 --> <!-- &lt;!&ndash; 异步日志记录 &ndash;&gt;-->
<appender name="ASYNC_APPENDER" class="ch.qos.logback.classic.AsyncAppender"> <!-- <appender name="ASYNC_APPENDER" class="ch.qos.logback.classic.AsyncAppender">-->
  <appender-ref ref="DB-CLASSIC-MYSQL-POOL" /> <!--   <appender-ref ref="DB-CLASSIC-MYSQL-POOL" />-->
  <includeCallerData>true</includeCallerData> <!--   <includeCallerData>true</includeCallerData>-->
</appender> <!-- </appender>-->
<!-- 日志输出级别 --> <!-- 日志输出级别 -->
<root level="INFO"> <root level="INFO">
<appender-ref ref="Console" /> <appender-ref ref="Console" />
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册