Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-490

[javascript] Logging prints [object] instead of content of object

XMLWordPrintable

    • Hide
      In earlier releases of the product, the code to print object information was not showing component details of the object. As a consequence, log messages had less detail than expected.

      In this release, the object printing code now prints the members representing the object and the log messages have the expected level of detail.
      Show
      In earlier releases of the product, the code to print object information was not showing component details of the object. As a consequence, log messages had less detail than expected. In this release, the object printing code now prints the members representing the object and the log messages have the expected level of detail.
    • Documented as Resolved Issue
    • Hide

      1. create env variable debug export DEBUG=rhea:frames
      2. run simple_send.js from examples of rhea

      Show
      1. create env variable debug export DEBUG=rhea:frames 2. run simple_send.js from examples of rhea

      Rhea lib logging frames write array of [object] instead of content of [object], I think there is missing JSON.stringify([object]) for this array of [object].

        rhea:frames [connection-1] PENDING: { channel: 0, type: 1, performative: Typed { type: TypeDesc { name: 'List32', typecode: 208, width: 4, category: 3, create: [Object] }, value: [ [O
      bject], [Object] ], descriptor: { [Number: 65] type: [Object], value: 65 } } } +1ms
        rhea:frames [connection-1] RECV: { size: 16, type: 1, performative: c { value: [ [Object] ] } } +16ms
        rhea:frames [connection-1] RECV: { protocol_id: 0, major: 1, minor: 0, revision: 0 } +0ms
        rhea:frames [connection-1] RECV: { size: 192, type: 0, channel: 0, performative: c { value: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object],
       [Object] ] } } +6ms
        rhea:frames [connection-1] RECV: { size: 34, type: 0, channel: 0, performative: c { value: [ [Object], [Object], [Object], [Object], [Object] ] } } +19ms
        rhea:frames [connection-1] RECV: { size: 94, type: 0, channel: 0, performative: c { value: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object],
      [Object] ] } } +1ms
        rhea:frames [connection-1] PENDING: { channel: 0, type: 0, performative: Typed { type: TypeDesc { name: 'List32', typecode: 208, width: 4, category: 3, create: [Object] }, value: [ [O
      bject], [Object], [Object], [Object], [Object], [Object], [Object] ], descriptor: { [Number: 19] type: [Object], value: 19 } }, payload: undefined } +1ms
      

              gordonsim Gordon Sim
              dkornel@redhat.com David Kornel
              David Kornel David Kornel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: