source/lambda/iot-dr-custom-launch-solution/lambda_function.py [15:26]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
logger = logging.getLogger()
for h in logger.handlers:
    logger.removeHandler(h)
h = logging.StreamHandler(sys.stdout)
FORMAT = '%(asctime)s [%(levelname)s]: %(threadName)s-%(filename)s:%(lineno)s-%(funcName)s: %(message)s'
h.setFormatter(logging.Formatter(FORMAT))
logger.addHandler(h)
logger.setLevel(logging.INFO)


SUCCESS = "SUCCESS"
FAILED = "FAILED"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



source/lambda/iot-dr-launch-solution/lambda_function.py [23:34]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
logger = logging.getLogger()
for h in logger.handlers:
    logger.removeHandler(h)
h = logging.StreamHandler(sys.stdout)
FORMAT = '%(asctime)s [%(levelname)s]: %(threadName)s-%(filename)s:%(lineno)s-%(funcName)s: %(message)s'
h.setFormatter(logging.Formatter(FORMAT))
logger.addHandler(h)
logger.setLevel(logging.INFO)


SUCCESS = "SUCCESS"
FAILED = "FAILED"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



