set the level of error reporting