kumar303 / hawkrest

Hawk HTTP Authorization for Django Rest Framework
BSD 3-Clause "New" or "Revised" License
19 stars 8 forks source link

Document logging #15

Closed edmorley closed 9 months ago

edmorley commented 9 years ago

Similar to: http://mohawk.readthedocs.org/en/latest/usage.html#logging

It would be good to document that auth errors can be debugged by adding a logger channel hawkrest to the Django logging config, with level of WARNING, so it outputs the full exception content here: https://github.com/kumar303/hawkrest/blob/c94c00a030b7127dfd064a1cc6c5b4f2b80367ea/hawkrest/__init__.py#L80