add log
modify log setting