removes the file logger and sets the root log level to warning