这是indexloc提供的服务,不要输入任何密码
Skip to content

Silence cache hit logs #364

@richardwillars

Description

@richardwillars

Describe the feature you'd like to request

To minimise the output of information in the terminal and make it easier to see what was cached and what wasn't, it'd be useful to be able to minimise unnecessary terminal output. Cache hit logs are often not very useful to be seen in the terminal, as those tasks have successfully passed so you wouldn't usually need to be able to see them.. they're just noise at that point.

Describe the solution you'd like

A --silenceCachedLogs flag passed to the turborepo cli that allows you to silence the output of logs when there is a cache hit. Ie putting this line in a conditional:

go replayLogs(targetLogger, targetUi, runOptions, logFileName, hash, &logReplayWaitGroup, false)

Describe alternatives you've considered

A summary table after turborepo has finished outputting which summarises what was cached and what wasn't, and how long each non-cached step took to run. Perhaps that could be done in conjunction with the above?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions