curl verbose option, repeated use #13977
Closed
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.
-vv
on the curl command line increase the verbosity of the trace outputnetwork
,protocol
,proxy
. Usable in--trace-config
.Extract from curl's manpage on
--verbose:
...
Since curl 8.10, mentioning this option several times in the same argument
increases the level of the trace output. However, as before,
a single
-v
,--verbose
or--no-verbose
reverts any additions byprevious
-vv
again. This means that-vv -v
is equivalent to-v
. Thisavoids unwanted verbosity when the option is mentioned in the command line
and curl config files.
Using it twice, e.g.
-vv
, will output time (--trace-time
) and transferids (
--trace-ids
), as well as enable tracing for all protocols(
--trace-config protocol
).Adding a third verbose will output transfer content (
--trace-ascii %
) andenable tracing of more components (
--trace-config read,write,ssl
).A forth time will add tracing of all network components
(
--trace-config network
)....