writing log file