[JAVA-5070] Log informational message client-side based on detected environment (DocumentDB or CosmosDB) Created: 14/Jul/23 Updated: 28/Oct/23 Resolved: 09/Oct/23 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | 4.11.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | PM Bot | Assignee: | Slav Babanin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Quarter: | FY24Q3 | ||||
| Upstream Changes Summary: | DRIVERS-2583: If one or more host names end with ".cosmos.azure.com" (case-insensitive), log the following message using an "info" level:
If one or more host names end with ".docdb.amazonaws.com" or ".docdb-elastic.amazonaws.com" (case-insensitive), log the following message using an "info" level:
Drivers should not emit more than one log message per MongoClient construction. Note: there are no spec/prose tests for this ticket. Each driver should implement its own set of tests for this behavior. The libmongoc tests from mongodb/mongo-c-driver#1374 may be used as a reference. |
||||
| Documentation Changes: | Not Needed | ||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
||||
| Description |
|
This ticket was split from DRIVERS-2583, please see that ticket for a detailed description. |