added more explicit log mode