update the log setting