changed log to .log file