Answers for "aws lambda logging with python logging library"

0

aws lambda logging with python logging library

root = logging.getLogger()
if root.handlers:
    for handler in root.handlers:
        root.removeHandler(handler)
logging.basicConfig(format='%(asctime)s %(message)s',level=logging.DEBUG)
Posted by: Guest on January-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language