-
Notifications
You must be signed in to change notification settings - Fork 22
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
Better error reporting #21
Comments
…'s a transitive dependency already brought in.
… folder where we should be able to serve it via HTTP
…on/temperature-machine-ui) #21 add basic (server) logging to the UI
NB. the current approach will take a standard text based log file and parse it on the fly to a So anything that goes Alternatives might be to write the log file as JSON in the first place (which I didn't do first time round as I wanted a super-lightweight logging framework) or use a custom line ending delimiter in the log file ( So instead of:
You'd use a
|
…g, prepend the null character to all log messages (using the date pattern) and add the line ending to the actual end of a line in the ErrorLogger. Upshot is that we can now accept \n characters within log messages
…on/temperature-machine-ui) #21 improve styling of spinner
Still to do:
|
…to limit the log size). May have broken the log parser with \u0000
…ans we can drop the \u0000 silliness. Log4J2 is a dick to test though.
Make the log viewable in the app and show dates / times.
Bit of a shame as I made an effort to display interesting startup output (below)
Which would get muddled a little if I swap in an arbitrary logging framework:
The text was updated successfully, but these errors were encountered: