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

Log is cleared when application is terminated #79

Open
PropGit opened this issue Mar 8, 2017 · 2 comments
Open

Log is cleared when application is terminated #79

PropGit opened this issue Mar 8, 2017 · 2 comments
Assignees
Labels

Comments

@PropGit
Copy link

PropGit commented Mar 8, 2017

When the BlocklyPropClient application is closed, the log file it created is wiped clean, leaving it 0 bytes in size.

This happens on Windows; have not witnessed it on Mac.

@PropGit PropGit added the bug label Mar 8, 2017
@zfi zfi self-assigned this Mar 8, 2017
@zfi
Copy link

zfi commented Mar 8, 2017

I have seen this in my development environment. Not very often, but it does happen. There is likely an error in how the app is shutting down or in the order in which logging and the embedded server are terminating. When it does happen, I see a single message on the console that indicates an error while trying to write to the log file.

Until this is corrected, select the 'disconnect' button on the client UI and then view or copy the log file. The logging mechanism flushes to disk after each message is posted, so the contents of the log file are complete at that point.

@PropGit
Copy link
Author

PropGit commented Mar 15, 2017

Verified this happens on Ubuntu also.

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

No branches or pull requests

2 participants