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

Trace log file should be created so that it can be opened for read #24

Closed
mgreisen opened this issue Aug 23, 2017 · 1 comment
Closed

Comments

@mgreisen
Copy link

By default the log file created by the TextWriterTraceListener does not create the log file with the appropriate FileMode/FileShare options that allows the log file to be opened for read while it's still open by the logger.

@mgreisen
Copy link
Author

This is a non-issue. The stream to read the file just needs to be opened with FileShare.ReadWrite.

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

1 participant