* add log file write