add logging debug for boto3 to see more logging

pull/41/head
Minh Doan 6 years ago
parent 8a5ba63209
commit 0156d8fdb3
  1. 2
      aws-experiment-launch/new-pipeline/utils/logger.py

@ -2,6 +2,8 @@ import logging
logging.basicConfig(level=logging.INFO, logging.basicConfig(level=logging.INFO,
format='%(threadName)s %(asctime)s - %(name)s - %(levelname)s - %(message)s') format='%(threadName)s %(asctime)s - %(name)s - %(levelname)s - %(message)s')
logging.getLogger('botocore').setLevel(logging.DEBUG)
logging.getLogger('boto3').setLevel(logging.DEBUG)
def getLogger(file): def getLogger(file):
LOGGER = logging.getLogger(file) LOGGER = logging.getLogger(file)

Loading…
Cancel
Save