add log and filelct