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.
#### 4. `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.
#### 5. headers: you have a new field in changelog model that saves headers of request of user as a pretty string
#### 6. payload: you have a new field in changelog model that saves payload of request of user as a pretty string
#### 7. Test on django version 4.0.1: It works good with django version 4.0.1
#### 8. 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.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92be71e282c69e970925ab0e6cf1303948deb68193b738b927db4e07814cb912 |
|
MD5 | dcd0fb541fde8fdaaf1b4ac41f0bddf9 |
|
BLAKE2b-256 | 74615f59df661defbb11ee89c2af83a0e75f5bf6461da8b041e5a147895dc03b |