Skip to content

Conversation

SAKURA-CAT
Copy link
Member

close #1025

@SAKURA-CAT SAKURA-CAT requested a review from Copilot June 5, 2025 05:48
@SAKURA-CAT SAKURA-CAT self-assigned this Jun 5, 2025
@SAKURA-CAT SAKURA-CAT requested a review from Feudalman June 5, 2025 05:48
@SAKURA-CAT SAKURA-CAT added the 🐛 bug Something isn't working label Jun 5, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR changes the log level for duplicate-step notifications from warning to debug, reducing noise in the logs when a step is re-registered.

  • Changed swanlog.warning to swanlog.debug for duplicate-step detection.
  • No functional behavior changes beyond logging verbosity.
Comments suppressed due to low confidence (1)

swanlab/data/run/exp.py:78

  • Update or add tests to verify that duplicate-step logging now uses debug level instead of warning, ensuring existing tests that expect a warning are updated accordingly.
swanlog.debug(f"Step {step} on key {key} already exists, ignored.")

@SAKURA-CAT SAKURA-CAT added the 💪 enhancement New feature or request label Jun 5, 2025
@SAKURA-CAT SAKURA-CAT merged commit 119b388 into main Jun 5, 2025
5 checks passed
@SAKURA-CAT SAKURA-CAT deleted the chore/opt-log-level branch June 5, 2025 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working 💪 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REQUEST] 将重复step log warning默认关闭,配置项放入swanlab.Settings

2 participants