aws lambda logging with python logging library

Solutions on MaxInterview for aws lambda logging with python logging library by the best coders in the world

showing results for - "aws lambda logging with python logging library"
Lea
29 Mar 2018
1root = logging.getLogger()
2if root.handlers:
3    for handler in root.handlers:
4        root.removeHandler(handler)
5logging.basicConfig(format='%(asctime)s %(message)s',level=logging.DEBUG)
6