formatting for hex log