-
Notifications
You must be signed in to change notification settings - Fork 69
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
ThreadAwareModule Logging #441
Comments
Current possible implementation looks like this (sample is from unittest output)
@tomchop What do you think? I don't love it, but I'm not sure how I would improve it either. |
Interesting, why are |
For
This is being executed by the thread created by Perhaps an better scenario is only logging thread ids within |
Second attempt sample. An improvement I think.
|
Yeah, that looks much better! I don't know if we need the full |
The name comes from |
Seeing #464, changing the name to something shorter (like what you suggest doing |
I think I prefer having it with |
Cool, sounds good! |
Right now, when a thread aware module that uses
self.logger
to log does so, there is no indication which thread the log comes from. This should be improved to make it clearer what logs belong to which thread.The text was updated successfully, but these errors were encountered: