OUT-4103: make logs readable - #144
Open
SandipBajracharya wants to merge 5 commits into
Open
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
So LOG_LEVEL and the output caps apply everywhere, not just some call sites. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Drop the whole-object/array dumps that made logs unreadable, and move method-entry breadcrumbs to the debug level so they are off by default. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThe PR centralizes server logging behind a bounded, level-aware logger and reduces verbose payload output.
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains. No blocking failure remains. Important Files Changed
Reviews (2): Last reviewed commit: "fix(OUT-4103): keep each log on one line..." | Re-trigger Greptile |
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Collaborator
Author
|
@greptileai review again |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Cleans up logging so output is readable when debugging.
LOG_LEVELenv var controls how much prints. Defaultinfo. Errors always print and also go to Sentry independent of this.console.*calls now go through the logger, so the caps andLOG_LEVELapply everywhere.LOG_LEVEL=log.Log levels
log(debug) <info<warn<error. Suggested production value:info.Testing
pnpm typecheckclean, Biome clean.🤖 Generated with Claude Code