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

Activity Logger #55

Open
Weffe opened this issue Jan 23, 2018 · 3 comments
Open

Activity Logger #55

Weffe opened this issue Jan 23, 2018 · 3 comments
Assignees
Labels

Comments

@Weffe
Copy link
Collaborator

Weffe commented Jan 23, 2018

Hello everyone,

I think it could possibly be useful to utilize a logger for any activity the onboard computer is doing. Python has a built-in logger library ready for use (more info) and as far as javascript goes, there is Winston which was used last year. We could limit the log file to 10mb or something even smaller if storage is a concern. The main use case is that if we come across a run-time error we could possibly log it to a file before the program exits due to the exception and have an idea why it crashed. What do you guys think?

@dfeinzimer
Copy link
Collaborator

Sounds like a fantastic idea to me. Any downsides other than storage concerns?

@Weffe
Copy link
Collaborator Author

Weffe commented Jan 23, 2018

Not that I can think of. Maybe read/write speeds could be an issue if we are writing really verbose messages really quickly? But I don't think that should hurt us.

@Weffe
Copy link
Collaborator Author

Weffe commented Feb 15, 2018

@audstanley @skrapmi @rerdtsieck @vielma24

Thoughts on doing something like this? It can be useful for debugging purposes especially if we are out there doing competition tasks and something craps out on us.

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

6 participants