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

File logging issue with multiple threads #646

Closed
andrewkroh opened this issue Jan 6, 2016 · 1 comment
Closed

File logging issue with multiple threads #646

andrewkroh opened this issue Jan 6, 2016 · 1 comment

Comments

@andrewkroh
Copy link
Member

2016-01-06T03:56:35-05:00 DBG  EventLog[Application] Read() returned 0 records
2016-01-06T03:56:35-05:00 DBG  EventLog[Media Center] Read() returned 0 records2016-01-06T03:56:35-05:00 DBG  EventLog[HardwareEvents] Read() returned 0 records
2016-01-06T03:56:35-05:00 DBG  EventLog[Key Management Service] Read() returned 0 records
2016-01-06T03:56:35-05:00 DBG  EventLog[Internet Explorer] Read() returned 0 records

2016-01-06T03:56:35-05:00 DBG  EventLog[Security] Read() returned 0 records

The newline is misplaced in the output above. Multiple threads are logging messages and the Write for the message and the Write for the newline character are in two separate method invocations so various log messages get interleaved.

@andrewkroh
Copy link
Member Author

Fixed in 1.1. Needs merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant