xref: /curl/docs/cmdline-opts/trace-ascii.md (revision 2abfc759)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: trace-ascii
5Arg: <file>
6Help: Like --trace, but without hex output
7Mutexed: trace verbose
8Category: verbose global
9Added: 7.9.7
10Multi: single
11Scope: global
12See-also:
13  - verbose
14  - trace
15Example:
16  - --trace-ascii log.txt $URL
17---
18
19# `--trace-ascii`
20
21Save a full trace dump of all incoming and outgoing data, including
22descriptive information, in the given output file. Use `-` as filename to have
23the output sent to stdout. Use `%` as filename to send the output to stderr.
24
25This is similar to --trace, but leaves out the hex part and only shows the
26ASCII part of the dump. It makes smaller output that might be easier to read
27for untrained humans.
28
29Note that verbose output of curl activities and network traffic might contain
30sensitive data, including usernames, credentials or secret data content. Be
31aware and be careful when sharing trace logs with others.
32