This would only set up logging if the client is run directly, and not when client functionality is imported (Which is how it will be used, right?). That case would result in "No handlers could be found...". Doing this does disable logging for tests though. What do you think?