Skip to content

Reduce logging for exporting large folder archives#7649

Merged
labkey-jeckels merged 3 commits intorelease26.3-SNAPSHOTfrom
26.3_fb_xarExportLogging
May 7, 2026
Merged

Reduce logging for exporting large folder archives#7649
labkey-jeckels merged 3 commits intorelease26.3-SNAPSHOTfrom
26.3_fb_xarExportLogging

Conversation

@labkey-jeckels
Copy link
Copy Markdown
Contributor

Rationale

Exporting a folder archive with many samples or other experiment objects can result in thousands or hundreds of thousands of not very interesting log entries.

Changes

  • Reduce entity row level logging to DEBUG
  • Delete dead code
  • Always use a logger, falling back to a default on XarExporter

Tasks 📍

  • Manual Testing
  • Test Automation

@labkey-jeckels labkey-jeckels added this to the 26.03 milestone May 6, 2026
@labkey-jeckels labkey-jeckels self-assigned this May 6, 2026
@labkey-jeckels labkey-jeckels requested review from a team and labkey-willm May 6, 2026 19:58
{
this(relativizedLSIDs, selection.createURLRewriter(), user, container);
_log = log;
this(relativizedLSIDs, selection.createURLRewriter(), user, container, log);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be a @NotNull on the Logger argument here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I switched to use the default logger when null is passed. That's a small behavior change but should be reasonable given that almost everything has moved to debug level.

@labkey-jeckels labkey-jeckels merged commit 59110f2 into release26.3-SNAPSHOT May 7, 2026
12 checks passed
@labkey-jeckels labkey-jeckels deleted the 26.3_fb_xarExportLogging branch May 7, 2026 17:25
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

Successfully merging this pull request may close these issues.

2 participants