Skip to content

Stop writing overly verbose logs#1525

Merged
James Frost (jfrost-mo) merged 3 commits into
mainfrom
hide_spammy_logs
Jul 22, 2025
Merged

Stop writing overly verbose logs#1525
James Frost (jfrost-mo) merged 3 commits into
mainfrom
hide_spammy_logs

Conversation

@jfrost-mo

@jfrost-mo James Frost (jfrost-mo) commented Jul 22, 2025

Copy link
Copy Markdown
Member

Some of our log messages are far too verbose, adding thousands of lines of logs of very little value. This prevents being able to view the full logs in the cylc gui, and makes them harder to navigate otherwise.

This PR removes the worst couple offenders.

Contribution checklist

Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

  • Documentation has been updated to reflect change.
  • New code has tests, and affected old tests have been updated.
  • All tests and CI checks pass.
  • Ensured the pull request title is descriptive.
  • Conda lock files have been updated if dependencies have changed.
  • Attributed any Generative AI, such as GitHub Copilot, used in this PR.
  • Marked the PR as ready to review.

This statement could easily produce several thousand uninteresting
lines, which make it harder to find that actually useful bits of the
logs.
These are far too low-level to be full info level messages. The else
cases are also removed, as they produce several hundred lines of boring
output, and can be inferred from the lack of a positive message.
@jfrost-mo James Frost (jfrost-mo) added small Small issue that should be quick to resolve cleanup Non-functional improvement labels Jul 22, 2025
@jfrost-mo James Frost (jfrost-mo) changed the title Hide spammy logs Stop writing overly verbose logs Jul 22, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Coverage

@jfrost-mo James Frost (jfrost-mo) merged commit 83fc3a3 into main Jul 22, 2025
8 checks passed
@jfrost-mo James Frost (jfrost-mo) deleted the hide_spammy_logs branch July 22, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Non-functional improvement small Small issue that should be quick to resolve

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants