Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.:
Session#decode() packet 172 data chunk #1: 00 A3 2C 1B ...
Session#decode() packet 172 data chunk #2: FF 33 0A 22 ...
...
Attachments
Issue Links
- is related to
-
SSHD-637 Log all sent/received SSH messages
- Resolved