Hacked logger level configuration together.