enable log in the medium