Everything is logged in the
- rule registered is logged with
run()is logged with
require()failure is logged with
settings.LOGGING that will display all logged events in the
console, as well as denials in malicious.log.
See http://docs.djangoproject.com/en/dev/topics/logging for more details on how to customize your logging configuration.
.. literalinclude:: ../../test_project/test_project/rules_logging.py :language: python