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

Two loggers writing to same file is undefined behaviour #613

Closed
easylogging opened this issue Feb 23, 2018 · 1 comment
Closed

Two loggers writing to same file is undefined behaviour #613

easylogging opened this issue Feb 23, 2018 · 1 comment

Comments

@easylogging
Copy link
Contributor

This scenario may have race condition since we now have locks specific to loggers

Since: 9.95.4

Safe solution is to have a map of file locks by their filenames. We may need to write a test case beforehand to confirm the issue and the solution

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

No branches or pull requests

2 participants