trace-ascii.md 906 B


c: Copyright (C) Daniel Stenberg, daniel@haxx.se, et al. SPDX-License-Identifier: curl Long: trace-ascii Arg: Help: Like --trace, but without hex output Mutexed: trace verbose Category: verbose Added: 7.9.7 Multi: single Scope: global See-also:

  • verbose
  • trace Example:
  • --trace-ascii log.txt $URL ---

--trace-ascii

Save a full trace dump of all incoming and outgoing data, including descriptive information, in the given output file. Use - as filename to have the output sent to stdout.

This is similar to --trace, but leaves out the hex part and only shows the ASCII part of the dump. It makes smaller output that might be easier to read for untrained humans.

Note that verbose output of curl activities and network traffic might contain sensitive data, including usernames, credentials or secret data content. Be aware and be careful when sharing trace logs with others.