getsentry/raven-python — pull request #250 by jmagnusson (2013-01-31 00:57:32+00:00)
Title: Logbook: Send log level as its string representation

Currently, if a log entry is recorded @ e.g. `error` level it won't be recorded as such unless an exception is passed along as well. The requested change is needed for sentry to handle the entry properly. Changing the log level that raven passes on to sentry from an integer to its string representation fixes this. I'm not that versed in sentry or raven yet so I can't say 100% that this is a proper solution. This fix did however work according to my needs (blue/yellow/red background circles etc.).

I don't know if this applies to `logging` as well, I've only had time to test it with `logbook`.