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 "Alexander Klimetschek (Jira)" <ji...@apache.org> on 2019/08/27 23:40:00 UTC
[jira] [Created] (OAK-8580) Stack trace logging for all binary
downloading of cloud blob stores
Alexander Klimetschek created OAK-8580:
------------------------------------------
Summary: 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.8.16, 1.16.0
Reporter: Alexander Klimetschek
Assignee: Matt Ryan
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)