Log shows byte array contents partially, how can I get Infinispan to show the full byte array?
Since version 4.1, whenever Infinispan needs to print byte arrays to logs, these are partially printed in order to avoid unnecessarily printing potentially big byte arrays. This happens in situations where either, Infinispan caches have been configured with lazy deserialization, or your running an Memcached or Hot Rod server. So in these cases, only the first 10 positions of the byte array are shown in the logs. If you want Infinispan to show the full byte array in the logs, simply pass -Dinfinispan.arrays.debug=true system property at startup. In the future, this might be controllable at runtime via a JMX call or similar.
Related Questions
- If part of my shipment shows signs of rough handling or damage to the packaging, do I have the right to inspect the contents for damage before accepting the shipment?
- Log shows byte array contents partially, how can I get Infinispan to show the full byte array?
- Can I Convert An Object/Struct To Raw Data (Byte Array) And Back Again?