xref: /aosp_15_r20/external/curl/docs/cmdline-opts/trace-ascii.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: trace-ascii
5*6236dae4SAndroid Build Coastguard WorkerArg: <file>
6*6236dae4SAndroid Build Coastguard WorkerHelp: Like --trace, but without hex output
7*6236dae4SAndroid Build Coastguard WorkerMutexed: trace verbose
8*6236dae4SAndroid Build Coastguard WorkerCategory: verbose global
9*6236dae4SAndroid Build Coastguard WorkerAdded: 7.9.7
10*6236dae4SAndroid Build Coastguard WorkerMulti: single
11*6236dae4SAndroid Build Coastguard WorkerScope: global
12*6236dae4SAndroid Build Coastguard WorkerSee-also:
13*6236dae4SAndroid Build Coastguard Worker  - verbose
14*6236dae4SAndroid Build Coastguard Worker  - trace
15*6236dae4SAndroid Build Coastguard WorkerExample:
16*6236dae4SAndroid Build Coastguard Worker  - --trace-ascii log.txt $URL
17*6236dae4SAndroid Build Coastguard Worker---
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Worker# `--trace-ascii`
20*6236dae4SAndroid Build Coastguard Worker
21*6236dae4SAndroid Build Coastguard WorkerSave a full trace dump of all incoming and outgoing data, including
22*6236dae4SAndroid Build Coastguard Workerdescriptive information, in the given output file. Use `-` as filename to have
23*6236dae4SAndroid Build Coastguard Workerthe output sent to stdout. Use `%` as filename to send the output to stderr.
24*6236dae4SAndroid Build Coastguard Worker
25*6236dae4SAndroid Build Coastguard WorkerThis is similar to --trace, but leaves out the hex part and only shows the
26*6236dae4SAndroid Build Coastguard WorkerASCII part of the dump. It makes smaller output that might be easier to read
27*6236dae4SAndroid Build Coastguard Workerfor untrained humans.
28*6236dae4SAndroid Build Coastguard Worker
29*6236dae4SAndroid Build Coastguard WorkerNote that verbose output of curl activities and network traffic might contain
30*6236dae4SAndroid Build Coastguard Workersensitive data, including usernames, credentials or secret data content. Be
31*6236dae4SAndroid Build Coastguard Workeraware and be careful when sharing trace logs with others.
32