Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 573 Bytes


Everything is logged in the rules_light logger:

  • rule registered is logged with DEBUG level,
  • rule run() is logged with INFO level,
  • require() failure is logged with WARN level.


Example settings.LOGGING that will display all logged events in the console, as well as denials in malicious.log.

See for more details on how to customize your logging configuration.

.. literalinclude:: ../../test_project/test_project/
   :language: python