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

Error logging - include list DR in logs when biocache returns non-200 response #311

Open
1 task
nickdos opened this issue Oct 16, 2024 · 0 comments
Open
1 task
Assignees
Labels
Biosecurity Alerts for biosecurity species
Milestone

Comments

@nickdos
Copy link
Contributor

nickdos commented Oct 16, 2024

When debugging biosecurity alerts, the tomcat logs often show failed requests to Biocache. This is often due to a incorrect custom fq param in the biosecurity list data or is caused by a WKT polygon that is too long. The logs show the biocache query but there is no way to know which species list was being processed, when the error occurred.

  • include the list DR (optionally include list name) in the error log when calling external REST APIs.

E.g. this call is an example where the list DR should be included. But there are many more instances that require fixing.

@nickdos nickdos added the Biosecurity Alerts for biosecurity species label Oct 16, 2024
@nickdos nickdos added this to the 4.3.0 milestone Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Biosecurity Alerts for biosecurity species
Projects
None yet
Development

No branches or pull requests

2 participants