Skip to content

Conversation

@devxoul
Copy link
Contributor

@devxoul devxoul commented Jan 25, 2026

What does this PR do?

Changes the log.info("refreshing", { file }) call to log.debug("refreshing") in the models.dev refresh function.

This removes unnecessary INFO-level log noise during startup:

INFO  2026-01-25T06:06:04 +69ms service=models.dev file={} refreshing
Screenshot 2026-01-25 at 3 10 52 PM

The diagnostic capability is preserved for local development where log level defaults to DEBUG.

Closes #10506

How did you verify your code works?

  • Verified log level behavior: production uses INFO (hides debug), local dev uses DEBUG (shows debug)
  • Confirmed existing pattern: config.ts uses log.debug() for similar operational logs

@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:

No duplicate PRs found

@devxoul
Copy link
Contributor Author

devxoul commented Jan 25, 2026

Closes #10506

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.

Reduce log noise: models.dev refresh logs at INFO level during startup

1 participant