Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture/send data import log #14

Open
niconoe opened this issue Nov 18, 2021 · 3 comments
Open

Capture/send data import log #14

niconoe opened this issue Nov 18, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@niconoe
Copy link
Member

niconoe commented Nov 18, 2021

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
Copy link
Member Author

niconoe commented Feb 18, 2022

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
Copy link
Member Author

niconoe commented Feb 28, 2022

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

@niconoe niconoe transferred this issue from riparias/gbif-alert Oct 2, 2023
@niconoe
Copy link
Member Author

niconoe commented Oct 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant