edited logging intensity script