feat(marc_export): Improve MarcHttpExport logging #1605
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Let's make troubleshooting slightly less painful. Example:
2025-07-16T11:21:04,202 [etp892083096-53] INFO whelk.export.marc.MarcHttpExport - Handling export request 9ee86b11-f2f4-474b-81e7-b1e0e1cb79b9, remote IP [0:0:0:0:0:0:0:1] (x-forwarded-for: null), query: from=2025-01-05T22:00:00Z&until=2025-01-07T23:00:00Z&deleted=ignore&virtualDelete=false, parsed parameters: {deleted=ignore, virtualDelete=false, from=2025-01-05T22:00:00Z, until=2025-01-07T23:00:00Z}, properties: {efilter=off, issndehyphenate=off, move0359=off, authtype=interleaved, isbndehyphenate=off, sab=on, biblevel=off, authupdate=on, move240to244=off, bibcreate=on, longname=Ett biblbiotek, f003=SE-LIBR, format=ISO2709, holdtype=interleaved, holdcreate=on, authcreate=on, bibupdate=on, null=, holdupdate=on, composestrategy=composelatin1, name=EnBibbla, extrafields=G:050 ; Q:050 ; L:084,650 ; Li:084, characterencoding=UTF-8, locations=S NB SM SOT SB17 NLT, holddelete=off, lcsh=off, issnhyphenate=off, isbnhyphenate=off}
2025-07-16T11:21:04,214 [etp892083096-53] INFO whelk.export.marc.MarcHttpExport - Finished handling export request 9ee86b11-f2f4-474b-81e7-b1e0e1cb79b9