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

Better logging for debugging distributed multithreaded apps. #727

Conversation

rfortier
Copy link
Contributor

Change spdlog::set_pattern() to provide more useful logs/tracing for distributed, multithread debugging.

Adds milliseconds and thread IDs to the logs.

If you do single-system, multi-clients and server all on the same system, you could actually send all logs to one file and they will be interleaved correctly (mostly). Thread IDs might collide, but not on the same system.

@RobbeBryssinck RobbeBryssinck merged commit e7a5ebf into tiltedphoques:dev Oct 25, 2024
2 checks passed
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.

3 participants