[CDRIVER-1506] mock server optionally logs to file Created: 30/Aug/16  Updated: 19/Oct/16  Resolved: 05/Sep/16

Status: Closed
Project: C Driver
Component/s: libmongoc, tests
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Improvement Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

set MONGOC_TEST_SERVER_LOG environ variable to `stdout` or `stderr` for wire protocol logging from tests that use `mock_server_t`. Set to `json` to include these logs in the test framework's JSON output, in a format compatible with Evergreen



 Comments   
Comment by Githook User [ 03/Sep/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1506 fix MSVC build of test suite
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/0692d67bf4311f6ba5e89fad6c443ad85243ef1e

Comment by Hannes Magnusson [ 02/Sep/16 ]

This completely broke Windows build again: https://evergreen.mongodb.com/version/mongo_c_driver_43443420abe17c4d4b90eb719f0c62b7f8a0a7df

Comment by Githook User [ 02/Sep/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1506 improve mock server logging
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/43443420abe17c4d4b90eb719f0c62b7f8a0a7df

Generated at Wed Feb 07 21:12:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.