Skip to content

Suppress Azure SDK error logs#139729

Merged
DaveCTurner merged 5 commits intoelastic:mainfrom
DaveCTurner:2025/12/18/suppress-azure-sdk-error-logs
Dec 18, 2025
Merged

Suppress Azure SDK error logs#139729
DaveCTurner merged 5 commits intoelastic:mainfrom
DaveCTurner:2025/12/18/suppress-azure-sdk-error-logs

Conversation

@DaveCTurner
Copy link
Contributor

It turns out that the Azure SDK logs copiously at ERROR level for
totally benign events such as a BlobNotFound response when trying to
delete a blob that has already been deleted. Until #139226 these
messages were screamed into the void and caused no issue, but since that
change landed we now see them in the server logs too.

In due course we'd like to be able to capture these logs at a more
appropriate level, maybe DEBUG, but in the meantime this commit
removes the SLF4J bridge from the repository-azure module to redirect
them back into the void.

It turns out that the Azure SDK logs copiously at `ERROR` level for
totally benign events such as a `BlobNotFound` response when trying to
delete a blob that has already been deleted. Until elastic#139226 these
messages were screamed into the void and caused no issue, but since that
change landed we now see them in the server logs too.

In due course we'd like to be able to capture these logs at a more
appropriate level, maybe `DEBUG`, but in the meantime this commit
removes the SLF4J bridge from the `repository-azure` module to redirect
them back into the void.
@DaveCTurner DaveCTurner added >non-issue :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs auto-backport Automatically create backport pull requests when merged v9.3.1 v9.4.0 labels Dec 18, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. label Dec 18, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

@elasticsearchmachine
Copy link
Collaborator

Hi @DaveCTurner, I've created a changelog YAML for you.

Copy link
Contributor

@mosche mosche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DaveCTurner
Copy link
Contributor Author

This is going to land in a patch branch via #139730 but also needs backporting to 9.3 so I'm leaving this open as a reminder to do that.

@DaveCTurner DaveCTurner enabled auto-merge (squash) December 18, 2025 09:20
@DaveCTurner DaveCTurner merged commit e6c2632 into elastic:main Dec 18, 2025
35 checks passed
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Dec 18, 2025
It turns out that the Azure SDK logs copiously at `ERROR` level for
totally benign events such as a `BlobNotFound` response when trying to
delete a blob that has already been deleted. Until elastic#139226 these
messages were screamed into the void and caused no issue, but since that
change landed we now see them in the server logs too.

In due course we'd like to be able to capture these logs at a more
appropriate level, maybe `DEBUG`, but in the meantime this commit
removes the SLF4J bridge from the `repository-azure` module to redirect
them back into the void.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.3

@DaveCTurner DaveCTurner deleted the 2025/12/18/suppress-azure-sdk-error-logs branch December 18, 2025 10:29
elasticsearchmachine pushed a commit that referenced this pull request Dec 18, 2025
It turns out that the Azure SDK logs copiously at `ERROR` level for
totally benign events such as a `BlobNotFound` response when trying to
delete a blob that has already been deleted. Until #139226 these
messages were screamed into the void and caused no issue, but since that
change landed we now see them in the server logs too.

In due course we'd like to be able to capture these logs at a more
appropriate level, maybe `DEBUG`, but in the meantime this commit
removes the SLF4J bridge from the `repository-azure` module to redirect
them back into the void.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. v9.3.1 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments