django-health-check with django-audit-log
See original GitHub issueHi,
I am trying to ignore django health check’s TestModel
from the auditlog
app, but it doesn’t seem to work.
Here is my setting,
# django auditlog
AUDITLOG_INCLUDE_ALL_MODELS = True
AUDITLOG_EXCLUDE_TRACKING_MODELS = (
"health_check",
"health_check.db.models.TestModel"
)
No matter what combination I add here, it always logs create
, update
, delete
actions for the TestModel
object.
Any insights on how I can ignore this model?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
django-health-check
This project checks for various conditions and provides reports when anomalous behavior is detected. The following health checks are bundled with this project:....
Read more >datapunt-django-audit-log
DataPunt Audit Log is a simple Django app that will log all incoming requests and their corresponding responses to a configurable endpoint.
Read more >django-health-check — Python documentation
This project checks for various conditions and provides reports when anomalous behavior is detected. Many of these checks involve connecting to back-end ...
Read more >Logging
Package django‑health‑check django‑auditlog Django GUID (Correlation‑ID)
Category App App App
# Using This 5 3 0
Development Status Production/Stable Unknown Production/Stable
Read more >Django Health Check
Description. A pluggable app that runs a full check on the deployment, using a number of plugins to check e.g. database, queue server,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @2ykwang , your question led me to the solution 😃
I started testing as you suggested,
However, I given I had the following in my
INSTALLED_APPS
But, upon further checking, I found that
django-health-check
was storing the app names asSo, I went ahead and added just
db
in my setting like this,and it works now! 🎉 Thank you!
@2ykwang Could you please take a look?