import logging
message_format="%(asctime)s, %(levelname)s, %(module)s:%(lineno)d: %(message)s"
# Logging hierarchy (greater means more output): debug > info > warning > error
logging.basicConfig(level=logging.INFO, format=message_format)
logger = logging.getLogger(__name__)

import logging
message_format="%(asctime)s, %(levelname)s, %(module)s:%(lineno)d: %(message)s"
# Logging hierarchy (greater means more output): debug > info > warning > error
logging.basicConfig(level=logging.INFO, format=message_format)
logger = logging.getLogger(__name__)

# Logging hierarchy (greater means more output): debug > info > warning > error