Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: sunjar2013 on March 07, 2014, 02:02:18 AM



Title: Need a simple way to log the CGMiner's output message.
Post by: sunjar2013 on March 07, 2014, 02:02:18 AM
Hello Dear Group:
    I want collect the output message from running CGMiner, which is simple way to do it? I need store the output data to a text file, if it can output to redirection to serial port is better. Any information will be appreciate.


Title: Re: Need a simple way to log the CGMiner's output message.
Post by: Remember remember the 5th of November on March 07, 2014, 04:16:33 AM
Hello Dear Group:
    I want collect the output message from running CGMiner, which is simple way to do it? I need store the output data to a text file, if it can output to redirection to serial port is better. Any information will be appreciate.

CGminer is open source. You can easily modify it to do anything, including dumping stats to a file.


Title: Re: Need a simple way to log the CGMiner's output message.
Post by: sunjar2013 on March 07, 2014, 09:48:25 AM
Thanks, but I want a simple way, like as add some parameter or use Re-direction or pipe etc.


Title: Re: Need a simple way to log the CGMiner's output message.
Post by: -ck on March 07, 2014, 02:49:55 PM
add: 2>log.txt
and it will store all output in log.txt... though all of that and much more is documented in the readme as well.


Title: Re: Need a simple way to log the CGMiner's output message.
Post by: sunjar2013 on March 08, 2014, 02:28:31 AM
Hello ckolivas, I am great pleasure to got your reply, it works, thank you very much.