import errors
import util
+_logger = logging.getLogger('arvados.api')
services = {}
class CredentialsFromEnv(object):
`apiclient.discovery.build`. If the `discoveryServiceUrl` or `http`
keyword arguments are missing, this function will set default values for
them, based on the current Arvados configuration settings."""
- if config.get('ARVADOS_DEBUG'):
- logging.basicConfig(level=logging.DEBUG)
-
if not cache or not services.get(version):
if not version:
version = 'v1'
- logging.info("Using default API version. " +
- "Call arvados.api('%s') instead." %
+ _logger.info("Using default API version. " +
+ "Call arvados.api('%s') instead.",
version)
if 'discoveryServiceUrl' not in kwargs: