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

jj logging timestamps 3 #1123

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

jj logging timestamps 3 #1123

wants to merge 2 commits into from

Conversation

jjanowsk
Copy link
Collaborator

@jjanowsk jjanowsk commented Feb 13, 2025

☑️ Definition of Done checklist

  • Commit history is clean (requirements)
  • README.md is updated
  • Functionality is covered by unit or integration tests

There is a suspicion that our logs can lock from time to time.
Currently the timestamp in our logs comes from the very end of log
processing right before sending it to the writer thread which executes
application callback. To check if we do not have any locking inside
logging machinery on call site let's add two timestamps to our logs. One
directly from the call site and second in formatter. Third is already
there and comes from writter as explained above.

This is a temporary commit meant to be reverted once we have results.
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.

1 participant