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

Reset thread name when moving to new endpoint #47

Open
twagoo opened this issue Jun 25, 2024 · 0 comments
Open

Reset thread name when moving to new endpoint #47

twagoo opened this issue Jun 25, 2024 · 0 comments

Comments

@twagoo
Copy link
Member

twagoo commented Jun 25, 2024

We have log lines like

2024-06-24T18:42:43,279 ERROR [IDS Repository] Provider - Bad URL[https://clarin-pl.eu/oai/request?verb=Identify]?

note the mismatch between thread name (I assume that's what it is) and URL. This is probably reflecting the previous endpoint handled by the thread now attempting to connect to a new one. I assume that the thread name is set after a successful identify call. This is a bit confusing when looking at the logs (e.g. in OpenSearch) so better would be to reset the thread name to something neutral each time a new endpoint is queried.

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

No branches or pull requests

1 participant