Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable mongo driver tracing #67

Merged
merged 4 commits into from
Apr 29, 2024
Merged

Conversation

hallettj
Copy link
Collaborator

@hallettj hallettj commented Apr 29, 2024

Describe your changes

This lets you collect logs for various MongoDB connection events by setting an environment variable to set the log level for the relevant targets to debug.

Set this environment variable when running the connector to log all driver events:

RUST_LOG=mongodb::command=debug,mongodb::connection=debug,mongodb::server_selection=debug,mongodb::topology=debug

@hallettj hallettj requested review from codedmart and dmoverton April 29, 2024 19:26
@hallettj hallettj self-assigned this Apr 29, 2024
Base automatically changed from jesse/upgrade-mongodb-driver to main April 29, 2024 20:21
@hallettj hallettj merged commit 58870c3 into main Apr 29, 2024
1 check passed
@hallettj hallettj deleted the jesse/enable-mongo-driver-tracing branch April 29, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants