Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logback-classic 1.2.8 DBAppender Missing

I'm trying to upgrade the logback-classic library from version 1.2.3 to 1.2.8. The patch notes say that all DB related code has been removed, so the main DBAppender class no longer exists in the new version https://logback.qos.ch/news.html. Has anyone found some kind of upgrade guide or know of a workaround solution?

like image 953
Arush Shah Avatar asked Oct 24 '25 19:10

Arush Shah


1 Answers

Please see https://logback.qos.ch/news.html.

2022-04-20, Release of logback.db version 1.2.11.1

As of logback version 1.2.8 DBAppender no longer ships with logback. However, DBAppender for logback-classic is available under the following Maven coordinates:

ch.qos.logback.db:logback-classic-db:1.2.11.1

and for logback-access under

ch.qos.logback.db:logback-access-db:1.2.11.1

Both of these artifacts require ch.qos.logback.db:logback-core-db:1.2.11.1 which will be pulled in automatically by Maven's transitivity rules.

like image 150
Tony Edwards Avatar answered Oct 26 '25 07:10

Tony Edwards