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

Improve logging system #86

Open
colinking opened this issue Apr 18, 2016 · 1 comment
Open

Improve logging system #86

colinking opened this issue Apr 18, 2016 · 1 comment
Assignees
Milestone

Comments

@colinking
Copy link
Member

We want to be able to extensively track issues as they occur on production, so we will want to set up a better logging system then our current one (console.log/error). Bunyan looks promising. https://github.com/trentm/node-bunyan

@colinking colinking added this to the Botswana Demo milestone Apr 18, 2016
@colinking colinking self-assigned this Apr 18, 2016
@colinking
Copy link
Member Author

I think we should push off this issue for now, until after we have real users on the system. Our current console.log system is not perfect, but Logentries is doing a good job of detecting crashes and should be good enough for the demo.

I've been playing around with node-bunyan on another branch (colin/bunyan), and it looks promising for providing more data when crashes do occur, however it comes at the cost of readability during development (It's built to be parsed afterwards). We can write some small serializers to improve this, but this will be easier to do once we have a better feel for the kind of data we do want in our logs.

@colinking colinking changed the title Set up Bunyan logging Improve logging system May 22, 2016
@colinking colinking modified the milestones: Long-Term, Botswana Demo May 22, 2016
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