Make the --log option work in the shell and remove useless logging code from pypump.PyPump