[CXX-2586] Easier debugging with standardized logging: logging specification Created: 07/Oct/22  Updated: 09/Jan/23

Status: Backlog
Project: C++ Driver
Component/s: Logging
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: PM Bot Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-1677 Easier debugging with standardized lo... Implementing
Epic Link: Easier debugging with standardized logging
Upstream Changes Summary:

DRIVERS-1677:
I suggest that drivers do their implementation of this ticket in tandem with their implementation of DRIVERS-1673 which adds command log messages. This way the driver will have actual log messages to emit and test and can confirm that their logging implementation and test code works as expected.

The logging spec can be found here.

The unified test format changes can be found here. To summarize:

  • Client entities may now have a new observeLogMessages property specifying logging configuration for the client
  • Tests may now have a new expectLogMessages property specifying expected log messages to be produced during the test
  • Two new special matching operators $$matchAsRoot and $$matchAsDocument have been added to enable logging assertions.
     

 Description   

This ticket was split from DRIVERS-1677, please see that ticket for a detailed description.


Generated at Wed Feb 07 22:06:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.