curl/docs/cmdline-opts/trace.md
2024-06-23 23:06:21 +02:00

805 B

c SPDX-License-Identifier Long Arg Help Mutexed Category Added Multi Scope See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl trace <file> Write a debug trace to FILE verbose trace-ascii verbose 7.9.7 single global
trace-ascii
trace-config
trace-ids
trace-time
--trace log.txt $URL

--trace

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. Use % as filename to have the output sent to stderr.

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.