modifying the logging level, and solving a potential bug