Python Logger
The Scenario This scenario illustrates two possible mistakes people make when using the python logging module. Analyze the following code and look for issues. try: ... except SomeException as e: logger.error("Some meaningful error message. message={0}".format(e.message)) So what is wrong with that? First and foremost, the code fails to use the…