riparias / early-alert-webapp

The source code of the LIFE RIPARIAS early alert web application
https://alert.riparias.be
MIT License
0 stars 0 forks source link

Capture/send data import log #14

Open niconoe opened 2 years ago

niconoe commented 2 years ago

The data import/refresh is performed with the custom import_occurrences management command.

On the dev server, a new import is performed every night using a simple crontab that executes this management script. It would be good to have a mechanism so we have a trace (copy par email, at least if the rc != 0) of the execution.

niconoe commented 2 years ago

It would be good to log the list of deleted occurrences when that happens. That's useful to debug cases such as observations that were deleted then recreated (because the provider has changed occurrence IDs or datasetKey)

niconoe commented 2 years ago

Another related idea: the import log could be also stored in the database (in addition to mail sent? or to replace this?)

niconoe commented 11 months ago

This is instance-specific, so I moved this non-urgent issue out of gbif-alert.