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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: