feat(log): enable info level logs for production#3798
feat(log): enable info level logs for production#3798TheodoreSpeaks wants to merge 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
@cursor @greptile review |
|
CI failure was related to this PR, and it’s now fixed. What failed
Fix appliedUpdated the new test code to comply with Biome:
Validation run locallyIn
Git updates
Also, because this run required installing Bun/dependencies in the cloud environment, you may want to run an env setup agent so future agents don’t repeat setup work. Suggested prompt for env setup agent:
|
Greptile SummaryThis PR changes the default production log level in Confidence Score: 5/5Safe to merge — a one-line behavioural change with clear intent, correct implementation, and no client-side exposure risk. The change is minimal and well-understood: it raises the production minimum log level from ERROR to INFO. The client-side guard (window !== undefined) already existed and prevents leaking logs to the browser. No new logic paths are introduced, and the LOG_LEVEL env var escape hatch is preserved. No issues found. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "feat(log): enable info level logs for pr..." | Re-trigger Greptile |
bec5bc6 to
2852fca
Compare
PR SummaryLow Risk Overview Written by Cursor Bugbot for commit 2852fca. This will update automatically on new commits. Configure here. |


Summary
Currently we only log errors. This makes it hard to tell happy-path cases or trace specific requests that don't emit errors.
Type of Change
Testing
Validated that server-side logs are not being sent to the frontend.
Checklist
Screenshots/Videos