fixed enable log setting