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
Conversation
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.
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. |
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'. |
Conflicts: BitcoinMiner.py poclbm.py
Conflicts: BitcoinMiner.py poclbm.py
Conflicts: BitcoinMiner.py
Conflicts: BitcoinMiner.py
Add BitClockers.com mining pool to servers.ini
Abandoning. |
I've added logging support using Python's
logging
module. It's a little rough around the edges, but works well for my purposes.