Added functions to change logger level