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

Upgrade to Log4J2 and added logging for Cosmos DB request Diagnostics #9

Merged
merged 42 commits into from
Aug 11, 2022

Conversation

RaviTella
Copy link
Collaborator

Pulling changes from "request_diagnostics" branch.

Upgrade to Log4J2 to leverage filers with markers to separate out request diagnostics based on the Cosmos DB operation performed.

The location of the log files is in a directory called "cosmos_client_diagnostic_logs" under "/tmp" directory. Here you will find folders "read", "query", "patch" and "create". This location and additional configuration can be done by the log4j2.xml file in the resource folder of Cosmos DB binding project.

Diagnostic logging for query operation is not enabled yet.

Copy link
Member

@simplynaveen20 simplynaveen20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simplynaveen20 simplynaveen20 merged commit 91c71f9 into main Aug 11, 2022
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