Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1199

Jersey (JAX RS implementation) & Tomcat logging needs to be configured to use slf4j instead of JUL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      Fineract uses slf4j with logback, but Jersey (JAX RS implementation) doesn't dig that. It ideally should, as that would lead to nicer and more unified logging. Specifically, fixing this would make all of these kinds of logs:

      Oct 11, 2020 8:14:08 PM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans                        
      INFO: Registering Spring bean, accrualAccountingApiResource, of type org.apache.fineract.accounting.accrual.api.AccrualAccountingApiRe
      source as a root resource class 

      looks more like most of the other log messages, e.g. this one et al:

      2020-10-11 20:14:07.934  INFO 198000 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoint(s) beneath b
      ase path '/actuator 

      Attachments

        Issue Links

          Activity

            People

              vorburger Michael Vorburger
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: