Testrpc error: 'no loggers could be found for logger 'jsonrpc.manager'

痞子三分冷 提交于 2019-12-12 01:56:56

问题


I'm trying to run truffle init and get the sample contract running. I run 'truffle init', 'truffle compile', & 'truffle migrate'. In a separate terminal window (same directory as the project), I run testrpc with no errors--I get the 10 hashes I'm supposed to get. So,

In testrpc, this is the output when I run 'truffle migrate': Listening on localhost:8545 127.0.0.1 - - [2016-12-07 20:44:14] "POST / HTTP/1.1" 200 718 0.001816 No handlers could be found for logger "jsonrpc.manager".

Could there be other network connections interfering? I currently don't have any others running that I know of. On a Mac, 10.12.1.

Thanks everyone.


回答1:


to /bin/testrpc or /usr/local/bin/testrpc (wherever you have testrpc installed) add the following lines:

import logging

logging.basicConfig()

This will give you actual logging output and show you what you need to fix. In my case, it was a gas-related error.



来源:https://stackoverflow.com/questions/41065108/testrpc-error-no-loggers-could-be-found-for-logger-jsonrpc-manager

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!