Skip to content

Reduce log noise when a spectrum library file is missing or unreadable#1231

Open
vagisha wants to merge 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_quiet-speclib-stat-warning
Open

Reduce log noise when a spectrum library file is missing or unreadable#1231
vagisha wants to merge 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_quiet-speclib-stat-warning

Conversation

@vagisha

@vagisha vagisha commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Rationale

After deploying #1226 on PWEB-DR, the code that hides spectrum libraries from guests based on library file size logged a NoSuchFileException stack trace at WARN on every missing .elib/.blib file (PWEB-DR storage is not in sync with PWEB), filling up labkey.log very quickly.

Related Pull Requests

Changes

  • Log a single WARN line (with the exception type) instead of the full trace.
  • Keep the full stack trace at DEBUG (off by default at INFO) for when it is needed.

@vagisha vagisha marked this pull request as ready for review June 10, 2026 18:11
@vagisha vagisha requested a review from labkey-jeckels June 10, 2026 18:12
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.

1 participant