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

Added Logging Support #5

Closed
wants to merge 20 commits into from
Closed

Added Logging Support #5

wants to merge 20 commits into from

Conversation

lachesis
Copy link

I've added logging support using Python's logging module. It's a little rough around the edges, but works well for my purposes.

1) --hrint: the interval between writing hash rates to the log file.
2) --blkfound: poclbm now runs this program when it finds a block. Useful for notifying about found blocks in a miner cluster.
@m0mchil
Copy link
Owner

m0mchil commented Feb 21, 2011

Hi, my idea was that '--verbose' and output redirection to file produce the same. Is there anything else you get with logging? I may add process on block found.

@lachesis
Copy link
Author

I wanted to be able to keep outputting hash rate and stuff in it's pretty, one-line only format while also redirecting to a logfile. Also, I decreased the rate that it prints hashrate for logging so as to not fill my disk with hashrate info. But no, there was nothing I couldn't have done with '--verbose', output redirection, and 'tail -f'.

thebaba referenced this pull request in thebaba/poclbm Jun 10, 2011
Add BitClockers.com mining pool to servers.ini
@lachesis
Copy link
Author

Abandoning.

@lachesis lachesis closed this Aug 28, 2018
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.

None yet

2 participants