HTTP queries logger with flexible filters.
Project description
# django-activity-log
Forked from : https://github.com/scailer/django-user-activity-log
Changelogs of this fork is here:
#### 1) `ACTIVITYLOG_MAIN_IP_KEY_VALUE`: you can set this string settings.py file when you have a specific CDN or each changes in headers of request of user at fron-tend side , this key value is the highest priority to set IP address from headers.
#### 2) `ACTIVITYLOG_MAXIMUM_RECORD_SIZE`: you can set this integer in settings.py file this constraint controls number of saving records with remove oldest records.
#### 3) `EXCLUDE_IP_LIST`: you can set this list settings.py file this is a list of IP addresses that you do not want to log them.
#### 5) `IP_ADDRESS_HEADERS`: I changed this priority to find the IP address better. when you have a CDN , previous library saves IP address of CDN and it is not useful.
#### 6) headers: you have a new field in changelog model that saves headers of request of user as a pretty string
#### 7) payload: you have a new field in changelog model that saves payload of request of user as a pretty string
#### 8) Test on django version 4.0.1: It works good with django version 4.0.1
#### 9) change migration files: delete old migrations and create one file to migrate models of this library.
repository address:
https://github.com/HosseinSayyedMousavi/django-user-activity-log
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for django_activity_log-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 517511cdbedc4288a0d0ac5096dbb18a388c3139251fbfc530058af55c5ed68d |
|
MD5 | f70102c430cbc82885f2e256e2f0a146 |
|
BLAKE2b-256 | eb2aa5fbdba591aa314fb2084ed9ee0c68c94b205464bd8d464c66978e939407 |