Little change to make enforce log work.