review about writing log file