Is your feature request related to a problem? Please describe.
We have been troubleshooting some errors, and without a stack trace to understand the code path being taken before the errors, it's been very difficult to narrow things down.
Describe the solution you'd like
It would be helpful to troubleshooting if stack traces were logged when the log level is set to DEBUG
logger.debug("some message", exc_info=True)