django-axes/axes
Aleksi Häkli b569cdb991 Deprecate settings.AXES_LOGGER configuration flag
Fixes #634

The Django import system seems to produce errors
in certain configurations and especially when
MIGRATION_MODULES configuration is set globally.

This is most probably caused by misbehaving or cyclic
Python module imports in the Django application
instrumentatation chain that come up when the
MIGRATION_MODULES configuration is altered.

This patch migrates to the standard Python logging system
use and has less overhead and complexity for users as well.

Having a configurable logging prefix does not produce
a lot of benefits and is less flexible than having
all individual module logging configurations accessible
through the module __name__ parameter in Axes.

For example axes.handlers.* or axes.backends.*
are separately configurable in the new scheme
whereas they would have been both bundled under
the AXES_LOGGER log configuration.
2020-09-26 21:44:56 +03:00
..
handlers Deprecate settings.AXES_LOGGER configuration flag 2020-09-26 21:44:56 +03:00
locale Turkish translation added 2019-01-12 21:05:21 +03:00
management Roll back axes_reset_username style update 2020-09-20 22:00:59 +03:00
migrations Upgrade CI tooling to use automatic code formatting 2019-09-28 19:28:17 +03:00
tests Deprecate settings.AXES_LOGGER configuration flag 2020-09-26 21:44:56 +03:00
__init__.py Upgrade CI tooling to use automatic code formatting 2019-09-28 19:28:17 +03:00
admin.py Deprecate django-appconf 2020-09-12 17:03:50 +03:00
apps.py Deprecate settings.AXES_LOGGER configuration flag 2020-09-26 21:44:56 +03:00
attempts.py Deprecate settings.AXES_LOGGER configuration flag 2020-09-26 21:44:56 +03:00
backends.py Upgrade CI tooling to use automatic code formatting 2019-09-28 19:28:17 +03:00
checks.py Upgrade CI tooling to use automatic code formatting 2019-09-28 19:28:17 +03:00
conf.py Deprecate settings.AXES_LOGGER configuration flag 2020-09-26 21:44:56 +03:00
decorators.py Improve lockout and request handling 2019-05-19 18:32:40 +03:00
exceptions.py Upgrade QA tools 2019-11-12 12:08:42 +02:00
helpers.py black formatting 2020-09-11 11:03:15 +03:00
middleware.py Upgrade CI tooling to use automatic code formatting 2019-09-28 19:28:17 +03:00
models.py Upgrade CI tooling to use automatic code formatting 2019-09-28 19:28:17 +03:00
signals.py Deprecate settings.AXES_LOGGER configuration flag 2020-09-26 21:44:56 +03:00
utils.py changes requested by aleksihakli 2020-08-21 17:17:57 +03:00