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

Exporting search results does not have any kind of logging #431

Open
wwelling opened this issue Aug 27, 2024 · 0 comments · Fixed by #433
Open

Exporting search results does not have any kind of logging #431

wwelling opened this issue Aug 27, 2024 · 0 comments · Fixed by #433
Assignees

Comments

@wwelling
Copy link

wwelling commented Aug 27, 2024

Added logging when users utilize the search feature as well as any of the downloads.

2024-09-09T19:42:09.911107638Z 2024-09-09 19:42:09.910 INFO 1 --- [io-9000-exec-10] e.t.s.m.d.model.repo.IndividualRepo      : 178b5b45-79ef-42b2-ab09-154cdf6cebce: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=E, opKey=STARTS_WITH, tag=]] [] title_sort: ASC 2024-09-09T19:42:11.686006392Z 2024-09-09 19:42:11.685 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : 178b5b45-79ef-42b2-ab09-154cdf6cebce: streamSolrDocument COMPLETE 2024-09-09T19:42:11.989025204Z 2024-09-09 19:42:11.988 INFO 1 --- [io-9000-exec-10] s.m.e.c.IndividualSearchExportController : /individual/search/export Research csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] title_sort: ASC [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=V, opKey=STARTS_WITH, tag=]] [] [ExportArg [field=type, label=Publication type], ExportArg [field=title, label=Publication title], ExportArg [field=publicationDate, label=Publication date], ExportArg [field=publicationVenue, label=Journal title], ExportArg [field=bookTitle, label=Book title], ExportArg [field=authors, label=Author], ExportArg [field=authorOrganization, label=Author's department], ExportArg
[field=doi, label=DOI], ExportArg [field=pmcid, label=PubMed ID], ExportArg [field=uri, label=Open Access Link], ExportArg [field=publisher, label=Publisher], ExportArg [field=individual, label=Individual]] 2024-09-09T19:42:11.989938611Z 2024-09-09 19:42:11.989 INFO 1 --- [io-9000-exec-10] e.t.s.m.d.model.repo.IndividualRepo      : 6dfd08ea-dac5-4001-9fe0-cc621b54499c: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=V, opKey=STARTS_WITH, tag=]] [] title_sort: ASC 2024-09-09T19:42:12.221124199Z 2024-09-09 19:42:12.220 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : 6dfd08ea-dac5-4001-9fe0-cc621b54499c: streamSolrDocument COMPLETE 2024-09-09T19:42:13.170692529Z 2024-09-09 19:42:13.170 INFO 1 --- [nio-9000-exec-4] s.m.e.c.IndividualSearchExportController : /individual/search/export Research csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] title_sort: ASC [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=T, opKey=STARTS_WITH, tag=]] [] [ExportArg [field=type, label=Publication type], ExportArg [field=title, label=Publication title], ExportArg [field=publicationDate, label=Publication date], ExportArg [field=publicationVenue, label=Journal title], ExportArg [field
=bookTitle, label=Book title], ExportArg [field=authors, label=Author], ExportArg [field=authorOrganization, label=Author's department], ExportArg [field=doi, label=DOI], ExportArg [field=pmcid, label=PubMed ID], ExportArg [field=uri, label=Open Access Link], ExportArg [field=publisher, label=Publisher], ExportArg [field=individual, label=Individual]] 2024-09-09T19:42:13.171300224Z 2024-09-09 19:42:13.171 INFO 1 --- [nio-9000-exec-4] e.t.s.m.d.model.repo.IndividualRepo      : 0d2053df-e4d7-4382-b0fc-4ad7ee719386: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=T, opKey=STARTS_WITH, tag=]] [] title_sort: ASC 2024-09-09T19:42:14.188129802Z 2024-09-09 19:42:14.187 INFO 1 --- [nio-9000-exec-9] s.m.e.c.IndividualSearchExportController : /individual/search/export Research csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] title_sort: ASC [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=Q, opKey=STARTS_WITH, tag=]] [] [ExportArg [field=type, label=Publication type], ExportArg [field=title, label=Publication title], ExportArg [field=publicationDate, label=Publication date], ExportArg [field=publicationVenue, label=Journal title], ExportArg [field=bookTitle, label=Book title], ExportArg [field=authors, label=Author], ExportArg [field=authorOrganization, label=Author's depa
rtment], ExportArg [field=doi, label=DOI], ExportArg [field=pmcid, label=PubMed ID], ExportArg [field=uri, label=Open Access Link], ExportArg [field=publisher, label=Publisher], ExportArg [field=individual, label=Individual]] 2024-09-09T19:42:14.188874534Z 2024-09-09 19:42:14.188 INFO 1 --- [nio-9000-exec-9] e.t.s.m.d.model.repo.IndividualRepo      : 8b086d74-651f-44bd-bb92-a4d8653f85be: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=Q, opKey=STARTS_WITH, tag=]] [] title_sort: ASC 2024-09-09T19:42:15.266267628Z 2024-09-09 19:42:15.265 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : 0d2053df-e4d7-4382-b0fc-4ad7ee719386: streamSolrDocument COMPLETE 2024-09-09T19:42:15.414819152Z 2024-09-09 19:42:15.414 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : 8b086d74-651f-44bd-bb92-a4d8653f85be: streamSolrDocument COMPLETE 2024-09-09T19:42:20.313022096Z 2024-09-09 19:42:20.311 INFO 1 --- [nio-9000-exec-3] s.m.e.c.IndividualSearchExportController : /individual/search/export Organizations csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=name,individual] name_sort: ASC [FilterArg [field=class, value=Organization, opKey=EQUALS, tag=], FilterArg [field=name_sort, value=H, opKey=STARTS_WITH, tag=]] [] [ExportArg [field=name, label=Name], ExportArg [field=individual, label=Individual]] 20
24-09-09T19:42:20.313180276Z 2024-09-09 19:42:20.312 INFO 1 --- [nio-9000-exec-3] e.t.s.m.d.model.repo.IndividualRepo      : a62c9f49-9117-4f66-a38d-1f9957e60776: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=name,individual] [FilterArg [field=class, value=Organization, opKey=EQUALS, tag=], FilterArg [field=name_sort, value=H, opKey=STARTS_WITH, tag=]] [] name_sort: ASC 2024-09-09T19:42:20.657127128Z 2024-09-09 19:42:20.656 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : a62c9f49-9117-4f66-a38d-1f9957e60776: streamSolrDocument COMPLETE 2024-09-09T19:42:22.502292565Z 2024-09-09 19:42:22.501 INFO 1 --- [nio-9000-exec-4] s.m.e.c.IndividualSearchExportController : /individual/search/export Organizations csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=name,individual] name_sort: ASC [FilterArg [field=class, value=Organization, opKey=EQUALS, tag=], FilterArg [field=name_sort, value=Q, opKey=STARTS_WITH, tag=]] [] [ExportArg [field=name, label=Name], ExportArg [field=individual, label=Individual]] 2024-09-09T19:42:22.502801941Z 2024-09-09 19:42:22.502 INFO 1 --- [nio-9000-exec-4] e.t.s.m.d.model.repo.IndividualRepo      : dd31461f-cf09-433e-a534-0f6c205f1276: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=name,individual] [FilterArg [field=class, value=Organization, opKey=EQUALS, tag=], FilterArg [field=name_sort, value=Q, opKey=STARTS_WITH, tag=]] [] name_sort: ASC 2024-09-09T19:42:22.510520277Z 2024-09-09 19:42:22.509 INFO 1 --- [pool-1-thread-1]
e.t.s.m.d.model.repo.IndividualRepo      : dd31461f-cf09-433e-a534-0f6c205f1276: streamSolrDocument COMPLETE 2024-09-09T19:42:29.575327443Z 2024-09-09 19:42:29.574 INFO 1 --- [nio-9000-exec-8] s.m.e.c.IndividualSearchExportController : /individual/search/export Scholarly Works csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] score: DESC,title_sort: ASC [FilterArg [field=class, value=Document OR type:creativeWork, opKey=EXPRESSION, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=]] [BoostArg [field=title, value=2.0], BoostArg [field=keywords, value=2.0], BoostArg [field=abstract, value=2.0]] [ExportArg [field=type, label=Publication type], ExportArg [field=title, label=Publication title], ExportArg [field=publicationDate, label=Publication date], ExportArg [field=publicationVenue, label=Journal title], ExportArg [field=bookTitle, label=Book title], ExportArg [field=authors, label=Author], ExportArg [field=authorOrganization, label=Author's department], ExportArg [field=doi, label=DOI], ExportArg [field=pmcid, label=PubMed ID], ExportArg [field=uri, label=Open Access Link], ExportArg [field=publisher, label=Publisher], ExportArg [field=individual, label=Individual]] 2024-09-09T19:42:29.575930121Z 2024-09-09 19:42:29.575 INFO 1 --- [nio-9000-exec-8] e.t.s.m.d.model.repo.IndividualRepo      : c4c8cb7f-ffb6-4e5d-acf7-08bd896c8f26: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] [FilterArg [field=class, value=Document OR type:creativeWork, opKey=EXPRESSION, tag=], FilterArg [field=title, val
ue=*, opKey=EXPRESSION, tag=]] [BoostArg [field=title, value=2.0], BoostArg [field=keywords, value=2.0], BoostArg [field=abstract, value=2.0]] score: DESC,title_sort: ASC 2024-09-09T19:42:32.916133367Z 2024-09-09 19:42:32.915 INFO 1 --- [nio-9000-exec-6] s.m.e.c.IndividualSearchExportController : /individual/search/export Research csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] title_sort: ASC [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=Z, opKey=STARTS_WITH, tag=]] [] [ExportArg [field=type, label=Publication type], ExportArg [field=title, label=Publication title], ExportArg [field=publicationDate, label=Publication date], ExportArg [field=publicationVenue, label=Journal title], ExportArg [field=bookTitle, label=Book title], ExportArg [field=authors, label=Author], ExportArg [field=authorOrganization, label=Author's department], ExportArg [field=doi, label=DOI], ExportArg [field=pmcid, label=PubMed ID], ExportArg [field=uri, label=Open Access Link], ExportArg [field=publisher, label=Publisher], ExportArg [field=individual, label=Individual]] 2024-09-09T19:42:32.916608762Z 2024-09-09 19:42:32.916 INFO 1 --- [nio-9000-exec-6] e.t.s.m.d.model.repo.IndividualRepo      : f58099cb-c918-4e31-b8cf-dc55e5fbe265: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=Z, op
Key=STARTS_WITH, tag=]] [] title_sort: ASC 2024-09-09T19:42:51.380239807Z 2024-09-09 19:42:51.379 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : c4c8cb7f-ffb6-4e5d-acf7-08bd896c8f26: streamSolrDocument COMPLETE 2024-09-09T19:42:51.428450168Z 2024-09-09 19:42:51.428 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : f58099cb-c918-4e31-b8cf-dc55e5fbe265: streamSolrDocument COMPLETE 2024-09-09T20:03:28.611632287Z 2024-09-09 20:03:28.611 INFO 1 --- [nio-9000-exec-5] s.m.e.c.IndividualSearchExportController : /individual/search/export Research csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] title_sort: ASC [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=H, opKey=STARTS_WITH, tag=]] [] [ExportArg [field=type, label=Publication type], ExportArg [field=title, label=Publication title], ExportArg [field=publicationDate, label=Publication date], ExportArg [field=publicationVenue, label=Journal title], ExportArg [field=bookTitle, label=Book title], ExportArg [field=authors, label=Author], ExportArg [field=authorOrganization, label=Author's department], ExportArg [field=doi, label=DOI], ExportArg [field=pmcid, label=PubMed ID], ExportArg [field=uri, label=Open Access Link], ExportArg [field=publisher, label=Publisher], ExportArg [field=individual, label=Individual]] 2024-09-09T20:03:28.612151128Z 2024-09-09 20:03:28.611 INFO 1 --- [nio-9000-exec-5] e.t.s.m.d.model.repo.IndividualRepo      :
8a34dc3b-78c4-4d40-99f4-e325f944f12c: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=H, opKey=STARTS_WITH, tag=]] [] title_sort: ASC 2024-09-09T20:03:29.184465418Z 2024-09-09 20:03:29.184 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : 8a34dc3b-78c4-4d40-99f4-e325f944f12c: streamSolrDocument COMPLETE
Mon, Sep 9 2024 3:04:19 pm2024-09-09 20:04:19.944 INFO 1 --- [nio-9000-exec-9] s.m.e.c.IndividualSearchExportController : /individual/search/export Research csv QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] title_sort: ASC [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=M, opKey=STARTS_WITH, tag=]] [] [ExportArg [field=type, label=Publication type], ExportArg [field=title, label=Publication title], ExportArg [field=publicationDate, label=Publication date], ExportArg [field=publicationVenue, label=Journal title], ExportArg [field=bookTitle, label=Book title], ExportArg [field=authors, label=Author], ExportArg [field=authorOrganization, label=Author's department], ExportArg [field=doi, label=DOI], ExportArg [field=pmcid, label=PubMed ID], ExportArg [field=uri, label=Open Access Link], ExportArg [field=publisher, label=Publisher], ExportArg [field=individual, label=Individual]]
Mon, Sep 9 2024 3:04:19 pm2024-09-09 20:04:19.945 INFO 1 --- [nio-9000-exec-9] e.t.s.m.d.model.repo.IndividualRepo      : 43575227-4446-430c-ac98-af7560a68097: Exporting QueryArg [expression=*:*, defaultField=, minimumShouldMatch=, queryField=, boostQuery=, fields=type,title,publicationDate,publicationVenue,bookTitle,authors,authorOrganization,doi,pmcid,uri,publisher,individual] [FilterArg [field=class, value=Document, opKey=EQUALS, tag=], FilterArg [field=title, value=*, opKey=EXPRESSION, tag=], FilterArg [field=title_sort, value=M, opKey=STARTS_WITH, tag=]] [] title_sort: ASC
Mon, Sep 9 2024 3:04:21 pm2024-09-09 20:04:21.442 INFO 1 --- [pool-1-thread-1] e.t.s.m.d.model.repo.IndividualRepo      : 43575227-4446-430c-ac98-af7560a68097: streamSolrDocument COMPLETE
@wwelling wwelling converted this from a draft issue Aug 27, 2024
@wwelling wwelling self-assigned this Aug 27, 2024
@wwelling wwelling moved this to 👷 In Planning in Scholars@TAMU Aug 27, 2024
wwelling added a commit that referenced this issue Aug 30, 2024
[Issue #431 and Issue #432]: Export search results logging and handle class cast exception with Date
@devangm devangm moved this from 👷 In Planning to ✅ Done in Scholars@TAMU Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
1 participant