Commit ebb0ac41 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

astakosclient: Remove basicConfig from root logger

Don't use basicConfig inside astakosclient library. This function should
be called from the main thread. The user of our library should be able
to set a handler for `astakosclient' logger if she wants to.
parent 5f6d25dd
......@@ -94,11 +94,8 @@ class AstakosClient(object):
# Get logger
if logger is None:
format='%(asctime)s [%(levelname)s] %(name)s %(message)s',
datefmt='%Y-%m-%d %H:%M:%S',
logger = logging.getLogger("astakosclient")
logger.debug("Intialize AstakosClient: auth_url = %s, "
"use_pool = %s, pool_size = %s",
auth_url, use_pool, pool_size)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment