changed log format (console and log file).