Fixing logging level to stdout and to file