[infinispan-issues] [JBoss JIRA] (ISPN-8007) Consolidate logging of binary data
Dan Berindei (JIRA)
issues at jboss.org
Tue Jul 4 05:32:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-8007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-8007:
-------------------------------
Description:
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.
{code}
Body value: 0304380000001
{code}
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.
{code}
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
{code}
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.
was:
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.
{code}
Body value: 0304380000001
{code}
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.
{code}
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
{code}
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.
> Consolidate logging of binary data
> ----------------------------------
>
> Key: ISPN-8007
> URL: https://issues.jboss.org/browse/ISPN-8007
> Project: Infinispan
> Issue Type: Task
> Reporter: Galder Zamarreño
>
> 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.
> {code}
> Body value: 0304380000001
> {code}
> 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.
> {code}
> 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
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list