-
Notifications
You must be signed in to change notification settings - Fork 8
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
Message formatting not threadsafe #2
Comments
I can't reproduce this at all when logging to a logfile (either explicitly or by redirecting stdout on the cmd line). Only logging directly to stdout shows the issue. Setting |
I can't see this being a bug in mono_logger, closing. |
Bummer, didn't see this one either. |
I'd like to keep this one open until we figure out exactly what's causing it. Even if it's not my fault, I'd like to 1) have an open issue showing there's some sort of issue and 2) figure out who it is so we can fix it. |
My testing under heavy concurrency shows that mono_logger has an annoying thread safety issue, likely due to the lock removal.
You can see the output interleaved between two different messages:
Here's the log formatter that's active:
I need to look into the underlying Logger class and see how it is handling the message and formatting.
The text was updated successfully, but these errors were encountered: