Hi all,
I’m using 1.9.1 and trying to track how long it takes SCU’s / AETs to send images in Orthanc for storage. I am using --verbose-dicom and parse the log file for times, and take the difference in time between Association Received and Association Release.
I0413 14:47:30.926825 CommandDispatcher.cpp:332] (dicom) Association Received from AET [redacted] on IP 10.x.x.x
…
I0413 14:51:04.876070 CommandDispatcher.cpp:918] (dicom) Association Release
This seems to work well under the assumption that only one SCU / AET is sending data at a time. But I think it could fail (i.e., infer the wrong times) if a second SCU association started from a second AET before the first one has completed, and the log lines were interleaved. Then it would be ambiguous which Association Release goes with which Association Received (because there is no AET or IP information in the release log line).
Is there some way around this ambiguity? I’d rather not use --trace-dicom, too verbose.
–Jeremy