2024-05-15 15:20:32 -04:00
|
|
|
---
|
2023-12-11 20:30:44 -05:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
|
|
|
Long: trace
|
|
|
|
Arg: <file>
|
|
|
|
Help: Write a debug trace to FILE
|
|
|
|
Mutexed: verbose trace-ascii
|
|
|
|
Category: verbose
|
|
|
|
Added: 7.9.7
|
|
|
|
Multi: single
|
|
|
|
Scope: global
|
2024-05-15 15:20:32 -04:00
|
|
|
See-also:
|
|
|
|
- trace-ascii
|
|
|
|
- trace-config
|
|
|
|
- trace-ids
|
|
|
|
- trace-time
|
|
|
|
Example:
|
|
|
|
- --trace log.txt $URL
|
2023-12-11 20:30:44 -05:00
|
|
|
---
|
2024-05-15 15:20:32 -04:00
|
|
|
|
|
|
|
# `--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
|
2023-12-11 20:30:44 -05:00
|
|
|
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
|
2024-05-15 15:20:32 -04:00
|
|
|
sensitive data, including usernames, credentials or secret data content. Be
|
2023-12-11 20:30:44 -05:00
|
|
|
aware and be careful when sharing trace logs with others.
|