<filename>app-lambda/rflambda/__init__.py
import logging

from rflambda.version import __version__  # NOQA

logger = logging.getLogger(__name__)
log_handler = logging.StreamHandler()
formatter = logging.Formatter(
    '%(asctime)s %(name)-12s %(levelname)-8s %(message)s')
log_handler.setFormatter(formatter)
logger.addHandler(log_handler)
logger.setLevel(logging.DEBUG)

<filename>app-lambda/rflambda/__init__.py
import logging

from rflambda.version import __version__  # NOQA

logger = logging.getLogger(__name__)
log_handler = logging.StreamHandler()
formatter = logging.Formatter(
    '%(asctime)s %(name)-12s %(levelname)-8s %(message)s')
log_handler.setFormatter(formatter)
logger.addHandler(log_handler)
logger.setLevel(logging.DEBUG)
