[
https://issues.apache.org/jira/browse/OAK-8580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917271#comment-16917271
]
Alexander Klimetschek commented on OAK-8580:
--------------------------------------------
Here is a patch for the AzureBlobStoreBackend: [^OAK-8580.patch]
This adds a new logger "oak.datastore.download.streams" to make it separate
from the existing logger based on the class. The same name could be used in the
S3 BlobStore implementation. Better name welcome.
> 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: Bug
> Components: blob-cloud, blob-cloud-azure
> Affects Versions: 1.16.0, 1.8.16
> Reporter: Alexander Klimetschek
> Assignee: Matt Ryan
> Priority: Major
> 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)