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

feat: prevent start flag and debug logs #31

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

marvinmarnold
Copy link
Contributor

Issue

How

  • Use stdio logging. syslog logging causes miner to crash
# /usr/bin/helium_gateway -c /etc/helium_gateway server
thread 'main' panicked at 'syslog drain: Custom { kind: Other, error: "Initialization" }', src/main.rs:53:18
  • PREVENT_START_GATEWAYRS can be set to 1 to prevent the miner from starting. This is helpful for debugging the miner manually.

Screenshots

References

Checklist

  • Tests added
  • Cleaned up commit history (rebase!)
  • Documentation added
  • Thought about variable and method names

@marvinmarnold marvinmarnold requested a review from a team as a code owner August 23, 2022 14:31
@marvinmarnold marvinmarnold merged commit 2197829 into main Aug 25, 2022
@marvinmarnold marvinmarnold deleted the marvinmarnold/integrate-gateway-rs branch August 25, 2022 13:58
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

Successfully merging this pull request may close these issues.

2 participants