Post
Topic
Board Mining software (miners)
Re: [MINER] Phoenix - New efficient, fast, modular miner **BFI_INT support!**
by
shivansps
on 28/08/2011, 00:30:50 UTC
All I want to see in the logfile is the time, the speed, the accepted/rejected number and the result. How can I do that?

see my script:

......................

Thanks Zwenny for your workaround, it's a nice idea, but I am asking to the developers for a build-in way to print the output in a nice format into a file. For example in this way:

./phoenix.py -u http://xyz:123456@mineco.in:3000/ -f /path/to/my/miner_log.txt  -k poclbm DEVICE=0 VECTORS BFI_INT FASTLOOP=false AGGRESSION=13

I already done it some months ago...

https://bitcointalk.org/index.php?topic=27761.0

You ill need to change a few things in ConsoleLogger.py in order to work 100% as you want, the file write line should be like this to add time
Quote
fileHandle.write(datetime.now().strftime(self.TIME_FORMAT) + '  ' + status)
man i love python, in order to do the above in C++ i need to do a few strcats Tongue

i think you can take it from here.