Skip to content

Commit

Permalink
add file size data to store information trace (#805)
Browse files Browse the repository at this point in the history
Co-authored-by: Julie Lycklama <[email protected]>
  • Loading branch information
jnlycklama and Julie Lycklama authored Jun 1, 2021
1 parent 3fa547b commit 4d64f3b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public StoreController(IMediator mediator, ILogger<StoreController> logger)
[AuditEventType(AuditEventSubType.Store)]
public async Task<IActionResult> PostAsync(string studyInstanceUid = null)
{
_logger.LogInformation("DICOM Web Store Transaction request received, with study instance UID {studyInstanceUid}.", studyInstanceUid);
long fileSize = Request.ContentLength ?? 0;
_logger.LogInformation("DICOM Web Store Transaction request received, with study instance UID {studyInstanceUid} and file size of {fileSize} bytes", studyInstanceUid, fileSize);

StoreResponse storeResponse = await _mediator.StoreDicomResourcesAsync(
Request.Body,
Expand Down

0 comments on commit 4d64f3b

Please sign in to comment.