gather logs with audit setting.