currently when debug=1 stuff will be dumped to UBX.log. In any case too much is printed to stdout. Better use a framework such as `logging`.