updated log leve the right way