You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Matt Ryan (Jira)" <ji...@apache.org> on 2019/08/29 08:38:00 UTC

[jira] [Resolved] (OAK-8580) Stack trace logging for all binary downloading of cloud blob stores

     [ https://issues.apache.org/jira/browse/OAK-8580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Ryan resolved OAK-8580.
----------------------------
    Resolution: Fixed

> Stack trace logging for all binary downloading of cloud blob stores
> -------------------------------------------------------------------
>
>                 Key: OAK-8580
>                 URL: https://issues.apache.org/jira/browse/OAK-8580
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: blob-cloud, blob-cloud-azure
>    Affects Versions: 1.16.0, 1.8.16
>            Reporter: Alexander Klimetschek
>            Assignee: Matt Ryan
>            Priority: Major
>             Fix For: 1.18.0
>
>         Attachments: OAK-8580.patch
>
>
> We want to be able to trace application code that invokes Binary.getInputStream() when a cloud blob store is present.
> The Azure blob store has one place where it supports trace logging [here|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/AzureBlobStoreBackend.java#L1202-L1207], but this misses another place blobs are fetched in [read()|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/AzureBlobStoreBackend.java#L218].
> Furthermore, it would be nice to have a separate logger for that in order to create a log file that _only_ includes these stack traces, and no other debug logs of the AzureBackend class.
> And same for the S3 BlobStore implementation.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)