Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8007

Consolidate logging of binary data

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Provide more consistent binary data logging for clients and server.

      The primary method for logging binary data so far was Util.printArray and related methods that printed binary data in straight hex format, e.g.

      Body value: 0304380000001
      

      In ISPN-7517, Dan added a new way of representing binary data with the added benefit that ascii data is represented as ascii, making it easier to debug things like cache names, e.g.

      Decode buffer (32768)...\R\Y\_\A\S\P\_\A\D\M\I\N\>17\S\e\t\ \G\o\o\g\l\e\-\A\n\y\l\y\t\i
      

      This latter method can be easier to deal with compared with previous method.

      We should convert all code to the same logging mechanisms so that it's easier to trace things.

              Unassigned Unassigned
              rh-ee-galder Galder ZamarreƱo
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: