Moved logging to a separate function
Custom client configuration file