Guest User

Untitled

a guest
Jul 9th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. <appender name="DB" class="ch.qos.logback.classic.db.DBAppender">
  2. <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource">
  3. <driverClass>com.mysql.jdbc.Driver</driverClass>
  4. <url>jdbc:mysql://10.2.2.222:3306/logback</url>
  5. <user>username</user>
  6. <password>thepassword</password>
  7. </connectionSource>
  8. </appender>
  9.  
  10. implementation 'org.slf4j:slf4j-api:1.7.25'
  11. implementation 'com.github.tony19:logback-android:1.1.1-12'
  12.  
  13. 20:40:50,225 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction -
  14. Could not create an Appender of type [ch.qos.logback.classic.db.DBAppender].
  15. ch.qos.logback.core.util.DynamicClassLoadingException:
  16. Failed to instantiate type ch.qos.logback.classic.db.DBAppender
  17. at ch.qos.logback.core.util.DynamicClassLoadingException:
  18. Failed to instantiate type ch.qos.logback.classic.db.DBAppender
  19.  
  20. Caused by: ch.qos.logback.core.util.DynamicClassLoadingException:
  21. Failed to instantiate type ch.qos.logback.classic.db.DBAppender
  22.  
  23. Caused by: java.lang.ClassNotFoundException:
  24. Didn't find class "ch.qos.logback.classic.db.DBAppender"
Add Comment
Please, Sign In to add comment