Azure / Azure/azure-cosmosdb-java

Including "uri" in the Diagnostic logs

Open
#401 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
59
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Based on a recent incident, we wanted to know how feasible it would be to include the container that they are trying to access in the diagnostic logs. User is setting "endpoint" but receiving and error "Server could not parse the Url" but since we are not able to see what that actual value is, we want to include it in the diagnostics.

Reference:

return new CosmosClientBuilder()
.endpoint(uri)
.credential(azureKeyCredential)
.directMode(directConnectionConfig, gatewayConnectionConfig);

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.