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

Logging info & errors #128

Closed
sangaman opened this issue May 15, 2019 · 3 comments
Closed

Logging info & errors #128

sangaman opened this issue May 15, 2019 · 3 comments
Labels

Comments

@sangaman
Copy link
Contributor

It looks like in the current version of the explorer there is (almost) no logging output to the console or to any file that I can find. Is there any logging occurring somewhere that I'm missing or plans to add logging?

@sangaman sangaman added the bug label May 15, 2019
@janoside
Copy link
Owner

Sorry about that. Recently changed to “debug” for logging. Need to update the docs to indicate that for logging you should set DEBUG=* in you .env file.

@sangaman
Copy link
Contributor Author

sangaman commented May 15, 2019

No worries, but I think some basic logging would be good by default. Like logging when the server has finished starting up and is listening for connections, or when there are unexpected errors like bitcoin rpc being unreachable or unhandled exceptions.

Edit: This would ideally be in addition to optional debug logging which logs every time it serves a webpage, makes a call to bitcoin/electrum, etc...

@sangaman
Copy link
Contributor Author

Another thought, adding timestamps to the logs would be helpful. Sometimes it's hard to tell where the relevant logging from pulling up a particular page begins and ends without it.

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

2 participants