chore: remove file sync log spam and unused logs command#3164
Merged
tusharmath merged 3 commits intomainfrom Apr 26, 2026
Merged
chore: remove file sync log spam and unused logs command#3164tusharmath merged 3 commits intomainfrom
tusharmath merged 3 commits intomainfrom
Conversation
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.
Summary
Remove noisy log spam from the file sync pipeline and drop the unused
forge logsCLI command.Context
Two sources of high-frequency log noise were identified:
File sync logs: Every file processed during workspace indexing emitted two
INFOlog lines — "File sync started" and "File sync completed". For a workspace with hundreds or thousands of files, this produced thousands of redundant log entries per sync cycle, drowning out meaningful log output.forge logscommand: Theforge logsCLI subcommand and its supporting module (logs.rs,LogsArgs) were added to stream/tail forge log files. The command has since become unnecessary and was removing dead weight from the binary and CLI surface.Changes
"File sync started"and"File sync completed"info!log calls from the batch file sync loop incrates/forge_services/src/sync.rsforge logsCLI subcommand (TopLevelCommand::Logs) and itsLogsArgsstruct fromcrates/forge_main/src/cli.rscrates/forge_main/src/logs.rs(the entire log-tailing module)mod logsdeclaration and theTopLevelCommand::Logsdispatch arm fromcrates/forge_main/src/lib.rsandui.rsTesting