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

Use proper logging #40

Closed
ryscheng opened this issue Apr 1, 2018 · 1 comment
Closed

Use proper logging #40

ryscheng opened this issue Apr 1, 2018 · 1 comment
Assignees
Labels
c:runtime/compute Category: runtime compute worker p:1 Priority: core feature

Comments

@ryscheng
Copy link
Contributor

ryscheng commented Apr 1, 2018

We should use a proper Rust logging library everywhere instead of manually printing stuff.

how about log+fern?

Using log is an easy choice since it's going to be part of rust core. Of the options listed in the README, fern seemed to be the most actively maintained.

Does prometheus do logging? Might be good to use this since we already use it for tracing

@ryscheng ryscheng added p:1 Priority: core feature c:runtime/compute Category: runtime compute worker labels Apr 1, 2018
@ryscheng ryscheng added this to the MVP milestone Apr 2, 2018
@kostko
Copy link
Member

kostko commented May 2, 2018

Implemented for compute node (using log and the very simple pretty_env_logger as we can always easily change the logging frontend if we need something more complex) in #172.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:runtime/compute Category: runtime compute worker p:1 Priority: core feature
Projects
None yet
Development

No branches or pull requests

2 participants