I am looking for a way to have logging.info, logging.warning, logging.error, etc. set exc_info=True by default. Refactoring the project to include this parameter isn't feasible at this point, so I'm looking for a way to set this for the logging module at a project-wide scope.
I am specifically looking for a way to set this parameter. Workarounds to retrieve the exception like sys.exc_info or traceback.format_exc() are not what I'm looking for.
Additionally, please let me know if this just isn't possible.