Replies: 4 comments
-
we've had a request before about really large
|
Beta Was this translation helpful? Give feedback.
-
for #1, that's code not owned by the CLI team (VSCode uses the same library and the result formatting/printing stuff is part of the library. So I can't commit to that part without getting them on board. |
Beta Was this translation helpful? Give feedback.
-
I believe cli team could solve this problem enabling custom log transports so that developers can choose to use services that were created to interact with logs, such as cloudwatch, datadog, relic and more. This would solve 2 problems at once:
Read more about logger transports here: Why
|
Beta Was this translation helpful? Give feedback.
-
UPDATE: sf v2.56.7
|
Beta Was this translation helpful? Give feedback.
-
When dealing with thousands of metadata components or hundreds of Apex unit tests, some CI logs are almost 10 MB large and it is difficult to browse and search the logs.
@daveespo reported a similar issue forcedotcom/salesforcedx-apex#243 2.5 years ago.
I'd like to have a
--concise
flag for more commands which reduces the human output printed on the terminal to a minimum.Here are a few examples of what I could imagine a
--concise
flag could do:sf apex run test --concise --result-format human
: still display details for all failed tests but only show a summary of passed tests (e.g. number of passed tests)Notes:
sf project retrieve start --concise
: still display errors/warnings/problems but only show a summary of retrieved components (e.g. number of retrieved components/files)Notes:
.forceignore
.In general I assume that JSON output shouldn't be changed. Or are there any use cases to change the JSON output as well?
I'd appreciate if the Salesforce team implements this to have a common understanding/behaviour of
--concise
in all official commands. 😄Beta Was this translation helpful? Give feedback.
All reactions