Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-940

Event log omits parts of received message in case of validation errors

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None

      Description

      problem

      When there are messages rejected and they contain repeating groups (for example) that could not be parsed there is a message similar to this in the event log:
      Rejecting invalid message: quickfix.FieldException: Out of order repeating group members, field=447: 8=FIX.4.49=14235=AE34=649=XXX52=20171120-08:21:48.09656=YYY22=448=abc55=[N/A]552=12668=12669=02670=910=168

      The log shows the message up to the point where the parsing failed. This makes the analysis difficult since one has to consult the message log additionally to the event log.

      solution

      Log the messageData (which is the original message String) instead of the parsed Message.

        Attachments

          Activity

            People

            • Assignee:
              chrjohn Christoph John
              Reporter:
              chrjohn Christoph John
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: