Added logging to client. Configuration file now has log_file setting.