add log to file