Uploaded image for project: 'mod-patron-blocks'
  1. mod-patron-blocks
  2. MODPATBLK-104

fetchById() logs excessive log lines

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 1.5.0
    • None
    • EPAM-Veg Sprint 128
    • 1
    • Vega

    Description

      Line 81 of OkapiClient.java is logging verbatim the HTTP response body.  The response body has newlines in it, which causes each line to be listed as a separate log line.   For example, this call to /loan-policy-storage/loan-policies/ for a production client output over 12,000 lines to the log stream.

      Please filter all calls to bodyAsString() to remove newlines before logging.  (There are several places in the code of this module where that is happening.)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                bisecomsergiy Sergiy Bichurin
                peter Peter Murray
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases