2

Is there any way to force testrpc to stop writing messages to the console ? Currently I am getting ton of messages about getBlockByNumber

eth_getBlockByNumber
eth_getBlockByNumber
net_version

The most important thing I need in the moment is list of accounts ( public and private key ) and after some time it is lost. The only solution I have is to write output to the file.(testrpc > output.txt) This works, but would be easier if I can just force testrpc to stop writing useless messages to the console.

Thanks.

1
  • It seems there's no flag to disable logging. But it should be a nice feature to have. I'd suggest to report it to the github.com/trufflesuite/ganache-cli it appears to be easy to implement. – Ismael Mar 14 '18 at 4:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.