Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

debug mode #49

Open
gorsuch opened this issue May 28, 2015 · 1 comment
Open

debug mode #49

gorsuch opened this issue May 28, 2015 · 1 comment

Comments

@gorsuch
Copy link
Member

gorsuch commented May 28, 2015

Noticed this while troubleshooting #46 it would make a lot of sense if canary had a flag to enable "debug mode". In this world, I'd like to see the request body emitted as well as the response info.

It would certainly make it easier to see what exactly is going wrong w/o having to resort to a series of log statements.

@blalor
Copy link
Contributor

blalor commented Jun 8, 2015

Might've helped me with #51, too. :-) How do you feel about using logrus for a logger? Then the log level may be configured at runtime, then. Given that there are currently no external dependencies in canary, I understand the resistance to making it a requirement, but if canary had some kind of pluggable logging config, that may make it easier.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants