Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Platform

<configuration>

<appender name="DB" class="ch.qos.logback.classic.db.DBAppender">
<connectionSource class="ch.qos.logback.core.db.DataSourceConnectionSource">
<dataSource class="com.mchange.v2.c3p0.ComboPooledDataSource">
<driverClass>com.mysql.jdbc.Driver</driverClass>
<jdbcUrl>jdbc:mysql://localhost:3306/logbackdb</jdbcUrl>
<user>logback</user>
<password>logback</password>
</dataSource>
</connectionSource>
</appender>

<root level="debug">
<appender-ref ref="DB"/>
</root>
</configuration>

0 0 53
0 REPLIES 0