My logback java based (no xml) config is ignored

前端 未结 1 1226
慢半拍i
慢半拍i 2021-01-06 03:21

Trying to configure logback and not able to have my configuration used when running the app.

There is a lot of console output, even if I remove all my configuration,

相关标签:
1条回答
  • 2021-01-06 03:46

    We needed something like this implemented in order to be able to re-configure the logging of our application, so we decided to open source it (under an Apache 2.0 license) and put it on Github. Please have a look at the logback-configuration project.

    If you find it useful, let me know (either e-mail me, you can find my e-mail on the project's pom.xml, or reply here) and I'll make a release and push it to Maven Central.

    The project is pretty small, but very straight-forward. You can have a look at the handful of tests to better understand how to do things.

    0 讨论(0)
提交回复
热议问题