Skip to content

Conversation

@jiansongy
Copy link

Summary

  • Change log.info("refreshing", ...) to log.debug(...) in models.ts

Problem

On every startup, an INFO level log appears:

INFO  2026-01-25T07:13:12 +132ms service=models.dev file={} refreshing

This clutters the console output and provides no actionable information to users.

Solution

Reduced the log level from INFO to DEBUG, so it only appears when explicitly debugging.

The INFO level log 'refreshing' from models.dev service appears on every
startup, which clutters the console output. Changed to DEBUG level so it
only shows when explicitly debugging.
@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Potential Duplicate Found

PR #10499: fix: change models.dev refresh log from info to debug

Why it's related: This PR addresses the exact same issue - changing the models.dev refresh log from INFO level to DEBUG level. It appears to be a duplicate or near-identical fix to PR #10508.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant