You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
PDUDecoder.decodeDIMSE logs dataset twice with debug log level.
To Reproduce
Steps to reproduce the behavior:
Enable DEBUG log level.
Execute a C-FIND with a non-empty query response.
Inspect log output for redundant "Dataset:" logging.
Expected behavior
Dataset should be logged only once from PDUDecoder.
Screenshots
n.a.
Desktop (please complete the following information):
OS: [Win10]
Browser [chrome]
Version [dcm4che 5.22.3]
Additional context
Removal of line 458 from PDUDecoder can solve the issue.
458 Dimse.LOG.debug("Dataset:\n{}", data);
459 if (Dimse.LOG.isDebugEnabled()) {
460 Dimse.LOG.debug("{} >> {} Dataset:\n{}", as, dimse.toString(cmd), data);
461 }
The text was updated successfully, but these errors were encountered:
Describe the bug
PDUDecoder.decodeDIMSE logs dataset twice with debug log level.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dataset should be logged only once from PDUDecoder.
Screenshots
n.a.
Desktop (please complete the following information):
Additional context
Removal of line 458 from PDUDecoder can solve the issue.
458 Dimse.LOG.debug("Dataset:\n{}", data);
459 if (Dimse.LOG.isDebugEnabled()) {
460 Dimse.LOG.debug("{} >> {} Dataset:\n{}", as, dimse.toString(cmd), data);
461 }
The text was updated successfully, but these errors were encountered: