move logging.basicConfig to main func (#511)

I just moved logging.basicConfig to each of the `main` functions of each script.

The tests are stilll passing - but I did not add a new one. If that is required, I would have to think about what a senseful test for this could look like.