add writelog,writedata to project