namecoin / nmcontrol

Namecoin Control. This repo is deprecated in favor of https://github.com/namecoin/ncdns
136 stars 38 forks source link

CLI shows an INFO log message #102

Closed JeremyRand closed 8 years ago

JeremyRand commented 9 years ago

Previously when the CLI was used, only the result was printed. Now for some reason the following is what I get:

$ ./nmcontrol.py dns getIp4 domob.bit
2015-09-08 19:53:35,215 - __main__ - INFO - ###################################################################################
["176.31.184.255"]

The INFO message is distracting, useless, and may adversely affect applications that parse NMControl's CLI output. (Of course, applications should probably be using RPC or REST for that, but it's still a bug.)

phelixbtc commented 9 years ago

Thanks for catching this. It would also clear the log file on each command line call. ::) https://github.com/namecoin/nmcontrol/pull/104