Update log and error levels