init a log file of work