Setup logger in a python 3.2 compatible way