[
https://issues.apache.org/jira/browse/SSHD-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor resolved SSHD-638.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
> Use smart buffer HEX data dump logging to accommodate large buffers
> -------------------------------------------------------------------
>
> Key: SSHD-638
> URL: https://issues.apache.org/jira/browse/SSHD-638
> Project: MINA SSHD
> Issue Type: Improvement
> Reporter: Goldstein Lyor
> Assignee: Goldstein Lyor
> Priority: Minor
> Fix For: 1.2.0
>
>
> The current code logs at TRACE level the raw contents of packets and their
> data. Sometimes, these packets can be quite big, so a large string is created
> in memory, since the entire data is logged into a single message. The idea is
> to break down the data into smaller chunks (e.g., up to 64/128/etc...) bytes
> per line and log each of them separately with some indication - e.g.:
> {quote}
> Session#decode() packet 172 data chunk #1: 00 A3 2C 1B ...
> Session#decode() packet 172 data chunk #2: FF 33 0A 22 ...
> ...
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)