honeybadger-io / honeybadger-python

Send Python and Django errors to Honeybadger.
https://www.honeybadger.io/
MIT License
15 stars 25 forks source link

Added log handler #91

Closed Kelvin4664 closed 3 years ago

Kelvin4664 commented 3 years ago

@Kelvin4664 A few questions:

  1. So if I'm reading the docs correctly, this handler can be added to any existing logger, in which case the existing logger's log level will be used to report exceptions? So if the logger is configured with WARNING, then INFO logs will not be reported to Honeybadger on that logger?
  2. Is there a way to configure django like the sample config I provided in Add a log handler #82? Can we document that as well?
  3. (just copying this from my prior comment to resurface it) Can you tell me what the backtrace section of the reported error looks like for logs? Is there any way to get a traceback for where the logging call was made?
  1. Yes
  2. Yes.. Readme has been updated
  3. Yes. We have a traceback just like we would for an exception. Screenshot below image