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

Enable orbit-db debug logging if desired #85

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Conversation

chmanie
Copy link
Member

@chmanie chmanie commented Aug 5, 2019

This PR enables logging for all orbit-db components by setting the DEBUG environment variable to pinion:orbitdb. You can still use pinion:* to get ALL the output or pinion:storeManager,pinion,ipfs to get everything except orbit-db logs.

I'm using the debug module just for env variable parsing here.

Copy link
Member

@rdig rdig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@chmanie chmanie merged commit 9e93584 into master Aug 5, 2019
@chmanie chmanie deleted the maintenance/orbit-logs branch August 5, 2019 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants